css unit introductory tutorial

零下一度
Release: 2017-06-13 11:41:14
Original
2032 people have browsed it

Hey, let me tell you how to use some mobile CSS units. px is definitely not possible. Mobile phones have so many sizes, so how much @media should be written. There are two most commonly used units: 1. remrem is set relative to the size of the root element. The root element in the web page refers to html. We can control the size of rem by setting the font size of html. For example: