Infinite CSS Shapes

I’ve used CSS to create squares and rectangles (obviously), I’ve also created lozenges and circles, even triangles in CSS. I’ve seen hexagons and pentagons, but never the infinity symbol! It’s really cool, there’s also some nice stars and hearts!

It’s actually amazing what you can do with :before and :after pseudo-elements and a dash of Css3. I could make a really geeky joke about #infinity:after, but I’m not going to. Oh, wait.

Anyway! Check out this great article about CSS shapes.

Leave a Comment