码迷,mamicode.com
首页 > 移动开发 > 详细

APP reset.css

时间:2016-09-10 23:59:47      阅读:414      评论:0      收藏:0      [点我收藏+]

标签:


html {
    box-sizing: border-box;
}
* {
    user-select: none;
    -webkit-tap-highlight-color: rgba(255,255,255,0);
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
}
*:before,
*:after {
    box-sizing: inherit;
}
input[type],
[contenteditable] {
    user-select: text;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
}
a {
    text-decoration: none;
    color: inherit;
}
b {
    font-weight: 400;
}
em,
i {
    font-style: normal;
}
a:focus {
    outline: 0;
}
input,
fieldset {
    appearance: none;
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
    font-size: 1rem;
    font-family: inherit;
}
input::-ms-clear {
    display: none;
}
input:focus {
    outline: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    appearance: none;
}
svg {
    display: inline-flex;
}

img {
    max-width: 100%;
    display: block;
}

 

APP reset.css

标签:

原文地址:http://www.cnblogs.com/zhouyangla/p/5860434.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!