You often have trouble with the layout dislocation of devices with different resolutions or different window sizes. You can use @ media screen to realize the adaptive layout of web pages
Advantages: no plug-in and mobile phone theme, friendly to mobile devices, and can adapt to various window sizes
Just use the CSS Add the @ media screen attribute in the, judge and output different length and width values according to the browser width
The following is a css written for your own theme. Only the main article frame is reserved for devices below 768 in width, so as to obtain the best reading experience in limited space