I've got stack with this hexagonal pattern using CSS Doodle. Problem is: I want to make hexagons 1.5-2 times smaller and more symmetric (now it is like a little bit stretched by X-axis), but responsive when the viewport is changed must be saved. I tried to combine many values, but it is the final version of what I was able to do. There is a codepen and code down here:
https://codepen.io/mepuduah/pen/dyyjRqP
:doodle {
position: absolute;
@grid: 1000 / 102vw;
height: 103vh;
overflow: hidden;
margin: 0;
padding: 0;
top: -3%;
left: -2%;
}
@shape: hexagon;
background: #000;
@size: 69% 42%;
-webkit-transition: 2s;
transform: rotate(45deg) scaleY(2) scaleX(2);
margin: 45% 55%;
:hover {
background: #fff;
transition: 0.5s easy-in;
}