I've been trying to stick to rems for everything lately but it's making my component margins feel totally disconnected from the local text size. If I change a heading to be larger, the spacing around it stays tiny because rem ignores the parent's font scaling. Using em for margins in cards works way better since the whitespace scales with the content itself. It's
much more predictable when you're nesting elements.
.card {font-size: 1.25rem;margin-bottom: 1em;}>rem is always better for consistencyThat logic falls apart once you start building complex nested components that need to scale together. Stick to em for anything related to padding or margin inside a component's internal layout.