The current type of initialization of the PC-and mobile-side used by the company

Source: Internet
Author: User

PC-side style reset  *{margin:0; padding:0;} body{font-size:14px; font-family: Microsoft Jacob Black; font-style:normal;} a{text-decoration:none}a,a:hover{ transition:background 0.5s linear;-webkit-transition:background 0.5s Linear ;-moz-transition:background 0.5s linear;-o-transition:background 0.5s linear;} EM, I{font-style:normal;} UL, OL, Li{list-style:none;} img{Border:none;vertical-align:middle;} Input,select,textarea{outline:none;border:none;background:none;} Textarea{resize:none;} p{line-height:22px;}. Fl{float:left;}. Fr{float:right;}. clear{clear:both; height:0px; width:100%; overflow:hidden;}. Position{position:relative;}  /* public style */.layout{width:1100px; display:table; margin:0 Auto;}  /* head */ /* navigation */ /*banner*/ /* content */ /* Bottom */   /*************************** /  Mobile page Note:  1. Mobile-style reset  /* CSS Document */*{ Margin:0;padding:0;-webkit-tap-highlight-color:rgba (0,0,0,0);-webkit-text-size-adjust:none;-webkit-User-select:none;-ms-user-select:none;user-select:none;font-family:arial, "Microsoft Jas Black";} Img{border:none;max-width:100%;vertical-align:middle;} Body,p,form,input,button,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6{margin:0;padding:0;list-style:none;overflow-x: hidden}h1,h2,h3,h4,h5,h6{font-size:100%;} Input,textarea{-webkit-user-select:text;-ms-user-select:text;user-select:text;-webkit-appearance:none; Font-size:1em;line-height:1.5em;} Table{border-collapse:collapse;} Input,select,textarea{outline:none;border:none;background:none;} A{outline:0;cursor:pointer;*star:expression (This.onbanner=this.blur ());} A:link,a:active{text-decoration:none;} A:visited{text-decoration:none;} A:hover{color: #f00; text-decoration:underline;} A{text-decoration:none;-webkit-touch-callout:none;} Em,i{font-style:normal;} Li,ol{list-style:none;} html{font-size:10px;}. Clear{clear:both;height:0;font-size:0;line-height:0;visibility:hidden; Overflow:hidden;}  .fl{float:left;}. Fr{float:right;} body{margin:0 auto;max-width:640px; min-width:320Px;color: #555; Padding-bottom:8%;background: #fef9f1; height:100%;}    Bottom @media screen and (max-width:320px) {body,input,select{font-size:10px}} @media screen and (min-width : 320px) {body,input,select{font-size:11.25px}} @media screen and (min-width:400px) {body,input,select{font-size : 12.5px}} @media screen and (min-width:480px) {body,input,select{font-size:13.75px}} @media screen and (min-width:560px {body,input,select{font-size:15px}} @media screen and (min-width:600px) {body,input,select{font-size:16.25px}}@ Media screen and (min-width:640px) {body,input,select{font-size:18px}}  2. Header in the HTML source file head join: <meta Name= "Viewport" content= "Width=device-width, initial-scale=1.0, minimum-scale=0.5, maximum-scale=2.0, user-scalable =yes ">    

The current company's use of the PC-side and mobile-side initialization style

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.