-
-
Save AaronGod/d16b88b71ed45cc727e5d4eb60de194c to your computer and use it in GitHub Desktop.
common.css
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*css reset*/ | |
| html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0}html,body,form,fieldset,p,div,h1,h2,h3,h4,h5,h6{-webkit-text-size-adjust:none}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;clear:both;} | |
| html { font-family: 'Microsoft YaHei',"Helvetica Neue", Helvetica, STHeiTi, Arial, sans-serif; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; font-size: 62.5%; } | |
| body {font-size: 1.4rem;overflow-x: hidden;min-width:320px; /*-webkit-overflow-scrolling: touch;*/color:#1a1a1a;background:#f9f9f9; } | |
| a { background: transparent; text-decoration: none; -webkit-tap-highlight-color: transparent; color: #1a1a1a; } | |
| a:active { outline: 0; } | |
| a:active { color: #3990e6; } | |
| audio, canvas, progress, video { display: inline-block; vertical-align: baseline; } | |
| audio:not([controls]) { display: none; height: 0; }svg:not(:root) { overflow: hidden; } | |
| hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; }pre { overflow: auto; white-space: pre; white-space: pre-wrap; word-wrap: break-word; }code, kbd, pre, samp { font-family: monospace; font-size: 1rem}mark { background: #ff0; color: #1a1a1a; }dfn { font-style: italic; } | |
| table { border-collapse: collapse; border-spacing: 0; }td, th { padding: 0; } | |
| ul, ol { list-style: none outside none; }h1, h2, h3,strong {font-weight: 600; } | |
| img{vertical-align:middle;border:0;-ms-interpolation-mode:bicubic;} | |
| button, input, optgroup, select, textarea { color: inherit; font: inherit; margin: 0; } | |
| button { overflow: visible; } | |
| button, select { text-transform: none; } | |
| button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; cursor: pointer; } | |
| button[disabled], html input[disabled] { cursor: default; } | |
| button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } | |
| input { line-height: normal; } | |
| input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; } | |
| input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { height: auto; } | |
| input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } | |
| input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; } | |
| textarea { overflow: auto; resize: vertical; } | |
| button, input, select, textarea { font-family:'Microsoft YaHei', "Helvetica Neue", Helvetica, STHeiTi, Arial, sans-serif;} | |
| input::-moz-placeholder, textarea::-moz-placeholder { color: #cccccc; } | |
| input:-ms-input-placeholder, textarea:-ms-input-placeholder { color: #cccccc; } | |
| input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { color: #cccccc; } | |
| /*commos*/ | |
| .border_box{ -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } | |
| .fl{float:left;}.fr{float:right;}.hide{display:none!important;}.show{display: block!important;} | |
| .ellipsis { white-space:nowrap; text-overflow:ellipsis; overflow:hidden} | |
| .break { word-break:break-all; word-wrap:break-word} | |
| .clearfix:after{content:'\0020';display:block;height:0;clear:both}.clearfix{*zoom:1} | |
| /*noScript*/ | |
| .noScript{margin:10px;text-align:center;background:#adb9c4;color:#fff;display:block; height:40px;line-height:40px} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment