top of page
Search
zakariyesahid96

Ems and rems

EM is a form of measurement used to size what ever is needed in CSS. An example is with font size, 1em equals font size of parent snd 2em is twice font size of parent.


In the case of rem it is relative to root html elements and font size, it is often easier to work with. However the problem with ems is that they stack and grow because of nesting.

0 views0 comments

Recent Posts

See All

留言


Post: Blog2_Post
bottom of page