Here is the basic configuration blue bold increase green background part is the most important, the other is the auxiliary
1 @charset "Utf-8";2 HTML{3 font-size:625%;4}5 body,h1,h2,h3,h4,p,ul,ol,form,fieldset,figure{6 margin:0;7 padding:0;8}9 Body{Ten Background-color:#fff; One font-family:"Helvetica Neue", Helvetica, Arial, "Microsoft Yahei UI", "Microsoft Yahei", Simhei, "\5b8b\4f53", SimSun, Sans-seri F; A font-size:. 16rem; -} - Ul,ol{ the List-style:outside None None; -} - a{ - text-decoration:None; +} - img{ + Display:Block; A Max-width:100%; at} - div,figure,figcaption{ - box-sizing:Border-box; -} - . None{ - Display:None; in} - . Clearfix:after{ to content:'. '; + Display:Block; - Clear:both; the Height:0; * Visibility:Hidden; $}
Here is the test code
.45rem means 45px
.16rem means 16px
If you need to set the 1px red solid border of the response, you can write------border:solid. 01rem #f00;
Note: REM is a new unit of CSS3 and is a unit of relative root element, which can be consulted for details.
1 Panax Notoginseng #header{2 width:100%;3 Height:. 45rem;4 Background-color:#333;5 font-size:0.16rem;6 position:fixed;7 Top:0;8 Z-index:9999;9 $}
Basic settings for mobile-responsive