The difference between adaptive and responsive layout, em and rem

   Adaptive layout: The layout of text, pictures, and other positions displayed on different terminals is the same, but the size is different.

   Responsive layout: Monitor screen size changes through media queries and make responsive changes, which may show different style effects on different devices.

   em: is relative to its parent element.

   rem: Relative to the page root element, rem is recommended.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325058764&siteId=291194637