Rotate Hexagons by their centers
So, I managed to build a hexagon with css only, but now, I can't figure out, how i can rotate the hexagon by it's own center.
Everything i tried rotates the hexagon by a corner.
Here is the code:
https://codepen.io/Ionut-Sanda/pen/ZEPjXKp
HTML:
CSS:
Any ideea is welcome
0 Replies