SCSS Hexagon Mixin

1
2
/**
* Special thanks to MathSass for maths functions!
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
A quick little SCSS mixin for creating pure CSS hexagons.

1 Response

Nice snippet! Do you have one where it will take the number of sides and produce a shape?

Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.