I recently learned about using an 8px vertical grid system in Figma for better design consistency. The idea is that all elements should have heights that are multiples of 8 pixels to create better vertical rhythm and alignment.
However, I’m struggling to understand how this works with responsive web development. In CSS, I typically use height: auto on my elements because it allows content to flow naturally and maintains responsiveness across different screen sizes.
If I follow the 8px grid system strictly, wouldn’t I need to set fixed pixel heights on my elements? This seems to go against responsive design principles. How do other designers handle this contradiction? Is there a way to maintain the benefits of the 8px grid while keeping elements flexible and responsive?