Using REMs for vertical and % for horizontal?

Hi guys,

Is it a good idea to use REMs for vertical units (height, margin-top, margin-bottom, position top and bottom etc), and use % units for everything that’s horizontal (width, left, right etc.).

I’m having some general issues with making things look good in terms of responsiveness cos’ I was using % for everything, and now I’m trying out REMs for vertical-related stuff and it seems to be better.

Tks!

Hi @Nikar, that’s a great question, there will would probably be some different opinions, but here is a good article on using REM Units with ways to calculate that.

I usually try to be prepared to use what works best according to the design layout :slight_smile: If you have a link to share, that will go a long way to help give some advice :slight_smile: Share a read-only link | Webflow University

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.