Richard Rutter’s guide for setting the font-size
of an element is interesting: he argues that we should use both em
and rem
units depending on the relationship it might have with other elements on the page:
Take the example of a pull quote containing two short paragraphs. The spacing between the paragraphs will depend on the size of the paragraph text, so you could feasibly set that spacing in either rems or ems. Should you decide during your design process …
Use `rem` for Global Sizing; Use `em` for Local Sizing is a post from CSS-Tricks
Thanks to: CSS-Tricks Permanent link
No hay comentarios.:
Publicar un comentario
Thanks for your comment