1.

Difference between em and rem in css​

Answer»

tion:em gives the ABILITY to control an area of a design. As in, scale the type in that specific area relatively. rem gives the ability to scale type ACROSS the entire page EASILY. Basically em is relative to the NEAREST parent in CSS, while is rem is relative to the parent of the page which is usually the HTML tag.



Discussion

No Comment Found