Features of em
1. The value of em is not fixed
2.em will inherit the font size of the parent element
Features of rem
rem is relative to the size of the root element
、
Features of em
1. The value of em is not fixed
2.em will inherit the font size of the parent element
Features of rem
rem is relative to the size of the root element
、