Hexagon shape with CSS3

A simple search turned this up: CSS Hexagon Tutorial Referenced from the site: Put a 104px × 60px div with a background colour between them and you get (the hexagon):

Create a slanted edge to a div [duplicate]

You can use a skewed pseudo element to make the slanted solid background of your element. This way, the text won’t be affected by the transform property. The transform origin property allows the pseudo element to be skewed from the right bottom corner and the overflowwing parts are hidden with overflow:hidden;. The pseudo element is … Read more

Draw Circle using css alone [duplicate]

You could use a .before with a content with a unicode symbol for a circle (25CF). Expand snippet I suggest this as border-radius won’t work in IE8 and below (I recognize the fact that the suggestion is a bit mental).

CSS Circle with border

Every guide I find has the line and fill the same colour. All I want is a circle with a red line and white fill. I have tried: But cannot get the red border?

Half circle with CSS (border, outline only)

You could use border-top-left-radius and border-top-right-radius properties to round the corners on the box according to the box’s height (and added borders). Then add a border to top/right/left sides of the box to achieve the effect. Here you go: WORKING DEMO. Alternatively, you could add box-sizing: border-box to the box in order to calculate the … Read more