spais• 75
@spais
Posted
Viewport units are another responsive unit for non-text elements. They are similar to percentages but slightly different. Kind of like rem and em units.
1
Looking to hire developers?
Asides using percentages, what other responsive units can I use for non-text elements?
@spais
Posted
Viewport units are another responsive unit for non-text elements. They are similar to percentages but slightly different. Kind of like rem and em units.
@OdiriTeddie
Posted
rem units, also you should set your font size to rem unit and use em units when applying margin or padding to the fonts.
@Raymond-ap
Posted
rem units
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord