Initializing CSS Styles

Source: Internet
Author: User

1 html,body,div,ul,li,ol,a,input,textarea,p,dl,dt,dd{margin:0;padding:0;} 2 ul li{list-style:none;} 3 a{text-decoration:none;cursor:pointer;} 4 html{height:100%;} 5 body{height:100%;background: #f5f5f5;p osition:relative;font-family: ' Microsoft Jas Black '; max-width:640px;margin: Auto;} 6 A,input,img,textarea,span,div{outline:0;-webkit-tap-highlight-color:rgba (255,0,0,0);}
1 HTML {2Font-family: "The song Body", "Times New Roman", times, serif;3     /*Google Browser font minimum font 12px*/4-webkit-text-size-adjust:100%;/*100%/none Turn off the font size auto-adjustment feature*/5     /*a tag and owning: active pseudo-class elements have a default highlight box*/6-webkit-tap-hightlight-color:transparent;7     /*prohibit text from being selected*/8     9 }Ten body{ Oneoverflow-X:hidden; A     /*Turn on Moblie Web page fast scrolling and rebound effect*/ --webkit-overflow-Scrolling:touch; -font-size:12px; theFont-family:helvetica Neue, Helvetica, Arial, sans-serif; --webkit-text-size-adjust:100%;//Turn off auto-adjust fonts -overflow-Scrolling:touch; --webkit-tap-highlight-color:rgba (0,0,0,0); + } -*{ +margin:0; Apadding:0; at-webkit-box-sizing:border-box; -box-sizing:border-box; -font-Style:normal; - } - a{ - Border:none; in-webkit-tap-highlight-color:rgba (0,0,0,0); --webkit-tap-highlight-color:transparent; to Outline:none; +Color: #333; --webkit-tap-highlight-color: #fff; thetext-Decoration:none; *  } $ A:hover,Panax Notoginseng a:focus{ -text-Decoration:none; the Outline:none; + } A a.line,.topline{ the position:relative; + } - a.line:after,.topline:after{ $Content: ""; $ Position:absolute; -right:0; -top:0; the } - a.line:after{Wuyiheight:100%; the width:1px; --webkit-transform:scalex (0.5); WuTransform:scalex (0.5); -border-right:1px solid #ccc; About } $ . topline:after{ - height:1px; -width:100%; --webkit-transform:scaley (0.5); ATransform:scaley (0.5); +border-top:1px solid #ccc; the } - img{ $border:0; thedisplay:inline-Block; thewidth:100%; theheight:100%; thevertical-Align:middle; - } in input{ the Outline:none; the Border:none; About     /*-webkit-appearance:none;*/ the } the . fl{ the     float: Left; + } - . fr{ the     float: Right;Bayi } the . clearfix:after{ theContent: ""; - Display:block; -width:100%; theheight:0; the Clear:both; the } the li,ol{ -list-Style:none; the } the  the. vertical-view{94display:-webkit-box; thedisplay:-webkit-Flex; the Display:flex; the-webkit-box-orient:vertical;98-webkit-box-Direction:normal; About-webkit-flex-Direction:column; -flex-Direction:column;101 }102. horizontal-view{103display:-webkit-box;104display:-webkit-Flex; the Display:flex;106-webkit-box-orient:horizontal;107-webkit-box-Direction:normal;108-webkit-flex-Direction:row;109flex-Direction:row; the }111. inline-block{ the Display:block;113}

1<meta content= "Width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name= "viewport" >2<meta content= "yes" name= "apple-mobile-web-app-capable" >3<meta content= "Black" name= "Apple-mobile-web-app-status-bar-style" >4<!--shielded Label Dial/email/address Link--5<meta name= "format-detection" content= "Telephone=no"/>6<meta name= "format-detection" content= "Email=no"/>7<meta name= "format-detection" content= "Adress=no"/>8<!--do not enable cache--9<meta http-equiv= "Pragma" content= "No-cache"/>Ten<meta http-equiv= "Cache-control" content= "No-cache"/> One<meta http-equiv= "Expires" content= "0"/>

Initializing CSS Styles

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.