1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- @charset "UTF-8";
- body {
- line-height: 1;
- }
- html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, menu, nav, section, time, mark, audio, video, details, summary {
- margin: 0;
- padding: 0;
- border: 0;
- font-size: 100%;
- font-weight: normal;
- vertical-align: baseline;
- }
- blockquote, q {
- quotes: none;
- }
- blockquote:before,
- blockquote:after,
- q:before,
- q:after {
- content: '';
- content: none;
- }
- del {text-decoration: line-through;}
- img {
- height: auto;
- vertical-align: middle;
- -ms-interpolation-mode: bicubic;/* scale images in IE7 more attractively */
- }
- i, em {
- font-style: normal;
- }
- ol, ul, menu {
- list-style: none outside none;
- }
- fieldset,iframe,abbr,acronym {
- border: 0 none;
- }
- iframe {
- display: block;
- }
- textarea {
- resize: vertical;
- }
- table {
- border-collapse: collapse;
- border-spacing: 0;
- font-size: inherit;
- }
- // IE bug fixed: th 不继承 text-align
- th {
- text-align: inherit;
- }
- // 修正表单元素并不继承父级 font 的问题
- button, input, select, textarea {
- font-family: Microsoft Yahei, Hiragino Sans GB, WenQuanYi Micro Hei, sans-serif;
- margin: 0;
- }
- // 清除浮动
- .clearfix {
- *zoom: 1;
- &:before,
- &:after{
- content: "";
- display: table;
- line-height: 0;
- }
- &:after{
- clear: both;
- }
- }
- button{
- outline: none;
- border: none;
- text-align: center;
- cursor: pointer;
- }
- input[type='number']::-webkit-outer-spin-button,
- input[type='number']::-webkit-inner-spin-button{
- -webkit-appearance: none !important;
- margin: 0;
- }
|