rem css unit code example
Example 1: css em
em -> Relative to the font-size of the element
(2em means 2 times the size of the current font)
Example 2: em css
/*realative to the font-size*/
Example 3: rem css
1 rem = root size of html = 16px
em -> Relative to the font-size of the element
(2em means 2 times the size of the current font)
/*realative to the font-size*/
1 rem = root size of html = 16px