Viewport is used to set the screen size on the mobile terminal, while media is used to set the corresponding style according to the different screen sizes
@media Add the @media screen attribute in CSS to determine and output different length and width values based on the browser width. Can control specified elements
Viewport is used to set the screen size on the mobile terminal, while media is used to set the corresponding style according to the different screen sizes
@media Add the @media screen attribute in CSS to determine and output different length and width values based on the browser width. Can control specified elements