DEV Community

Discussion on: Responsive hexagon grid without media query

Collapse
 
xnoisebeta profile image
Lenny Dee

Yeah, that would be ideal as that would prevent the case i mentioned above. Unfortunately my css skills are not so good so i couldnt figure it out :)

Thread Thread
 
afif profile image
Temani Afif

In this case, the easiest solution is to replaced px with vw which is the viewport unit that behave as percentage based on the screen size. To use % we need to change the logic, I will probably write another post about it ;)

Thread Thread
 
viereggjfc profile image
VIEREGG Design - JFC

That would be awesome