移动端样式重置代码
来源:互联网 发布:java 线程是什么 编辑:程序博客网 时间:2024/05/17 21:41
html {
font-family: “Helvetica Neue”, Helvetica, STHeiTi, Arial, sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
font-size: 62.5%;
}
body {
margin: 0;
font-size: 1.4rem;
line-height: 1.5;
color: #333333;
background-color: white;
height: 100%;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
}
body,html{
width: 100%;
height: 100%;
overflow: hidden;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block;
}
audio,
canvas,
progress,
video {
display: inline-block;
vertical-align: baseline;
}
audio:not([controls]) {
display: none;
height: 0;
}
[hidden],
template {
display: none;
}
svg:not(:root) {
overflow: hidden;
}
a {
background: transparent;
text-decoration: none;
-webkit-tap-highlight-color: transparent;
color: #0088cc;
}
a:active {
outline: 0;
}
a:active {
color: #006699;
}
abbr[title] {
border-bottom: 1px dotted;
}
b,
strong {
font-weight: bold;
}
dfn {
font-style: italic;
}
mark {
background: #ff0;
color: #000;
}
small {
font-size: 80%;
}
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
img {
border: 0;
vertical-align: middle;
}
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, monospace;
font-size: 1em;
}
button,
input,
optgroup,
select,
textarea {
color: inherit;
font: inherit;
margin: 0;
}
button {
overflow: visible;
border: 0;
}
button,
select {
text-transform: none;
}
button,
html input[type=”button”],
input[type=”reset”],
input[type=”submit”] {
-webkit-appearance: button;
cursor: pointer;
border: 0;
}
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;
}
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
legend {
border: 0;
padding: 0;
}
textarea {
overflow: auto;
resize: vertical;
resize: none;
}
optgroup {
font-weight: bold;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
td,
th {
padding: 0;
}
html,
button,
input,
select,
textarea {
font-family: “Helvetica Neue”, Helvetica, STHeiTi, Arial, sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
form,
blockquote {
margin: 0;
}
ul,
ol,
li,
dl,
dd {
margin: 0;
padding: 0;
}
ul,
ol {
list-style: none outside none;
}
h1,
h2,
h3 {
line-height: 2;
font-weight: normal;
}
h1 {
font-size: 1.8rem;
}
h2 {
font-size: 1.6rem;
}
h3 {
font-size: 1.4rem;
}
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;
}
- {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
- 移动端样式重置代码
- 移动端样式重置
- 移动端的样式重置
- 移动端页面默认样式重置
- pc和移动端默认样式重置
- 移动端(web app)默认样式重置汇总
- PC和移动端的CSS重置样式表
- 移动端小结_meta设置与移动端页面样式重置
- 移动端css重置
- meyerweb 的重置样式表代码
- CSS代码重置浏览器默认样式
- 分享一下CSS样式重置代码
- 关于select样式重置和移动端网页添加meta标签的问题
- PC端CSS样式重置
- 样式重置
- 系统用的重置样式( zteict_reset.css )代码片段
- 移动端样式
- 初始化移动端样式
- STM8S定时器基本中断定时
- HTTP报文
- 想转行互联网,IT培训该怎么选?
- mybatis入门(三)——Mapper代理开发替代传统DAO层开发
- Android手机通过wifi进行数据传输(一)
- 移动端样式重置代码
- css 怎么覆盖框架样式
- 操作系统(三)同步进程问题--理发师的睡觉问题
- 如何阅读计算机科学类的书
- apache的下载安装配置
- Linux设置超级用户密码
- 《C++ Primer Plus(第6版)》编程练习代码 Chapter 6
- 通讯录排序(按首字母顺序)
- tensorflow.python.platform.gfile