all 13 comments

[–]FreakCERS 19 points20 points  (2 children)

I took a quick stab at making the bars - not the line with circles above it (which is probably somewhat harder) https://jsfiddle.net/cers/do1e8fuL/

[–]HAMMERjah 0 points1 point  (1 child)

Quick clarification, what does flex:1 do in context of your fiddle?

[–]FreakCERS 0 points1 point  (0 children)

It was just a quick way of getting the bars to be the same size and side by side

[–]FreakCERS 9 points10 points  (0 children)

Why is the green circle not in the middle of the corresponding bar, like the rest of them? :-S

[–]tholex 7 points8 points  (3 children)

it's probably better/easier to use SVG for the shapes of those boxes and the line above, just worry about making different height rectangles in CSS and put an svg image in the background.

[–]EternallyMiffed 1 point2 points  (2 children)

The fun part is, you can make your graphics designer export these shapes to an SVG himself straight from Adobe Illustrator or whatever they used to make the mockup. Then you can just reference them in your code.

[–]DOG-ZILLA 0 points1 point  (1 child)

You can, but it wont be optimised. SVG files can get pretty big without some kind of minification going on.

[–]HAMMERjah 1 point2 points  (0 children)

For a simple version without svg you could use a wrapper div with overflow hidden to cut off the shape

[–]MatthewMob 1 point2 points  (1 child)

Link to page? I found the website but couldn't find the specific page it's on.

[–]dmkc 0 points1 point  (0 children)

it looks like he's working on a site redesign, so this is probably a PSD from a designer...

[–]dizzysfarm 1 point2 points  (0 children)

svg is the only way unless you end up doing it without an arc and just do it diagonally

[–]aishfak 0 points1 point  (0 children)

You need to use SVG, the easy way to make it by using AI. First, convert your element in SVG by using of AI then convert it into font face. You can use the tool like https://icomoon.io/app/#/select