Skip to content

24 ways to impress your friends

Vote down?

Elliot Geno

There is a much easier way to do fluid layouts that maintain aspect ratio with this technique. Put a font size of 1vw on the html tag. Use rems for every unit throughout the rest of your page. You can even easily write a px 2 rem mixin to help you calc from pixels.