68 lines
1.8 KiB
CSS
68 lines
1.8 KiB
CSS
@charset "GBK";
|
|
/* CSS Document */
|
|
/*
|
|
** HTML5移动重置样式表
|
|
*/
|
|
/* ============================ 重置css样式 ============================ */
|
|
/* 清除内外边距 */
|
|
body,html,header,footer,section,span,p,h1,h2,h3,h4,ul,ol,li,select,input,button,textarea,aside,article,dd,dl,dt{
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
/* 设置默认字体 */
|
|
body,button,input,select,textarea{ font:62.5%/1 "微软雅黑", Helvetica, Arial, sans-serif; }
|
|
/* 重置列表元素 */
|
|
ul, ol { list-style: none; }
|
|
/* 重置文本格式元素 */
|
|
a { text-decoration: none; }
|
|
a:focus { outline:none; }
|
|
img{
|
|
width:100%;
|
|
border:none;
|
|
vertical-align:middle;
|
|
}
|
|
/* 重置表格元素 */
|
|
table {
|
|
border-collapse: collapse;
|
|
border-spacing: 0;
|
|
}
|
|
/* ========================= 页面常用样式 CSS样式 =========================== */
|
|
html,body{
|
|
width:100%;
|
|
height:100%;
|
|
overflow-x:hidden;
|
|
}
|
|
body{
|
|
-text-size-adjust:none;
|
|
-webkit-user-select:none;
|
|
user-select:none;
|
|
-webkit-tap-highlight-color:rgba(0,0,0,0);
|
|
}
|
|
/*清除浮动*/
|
|
.clearfix:after{
|
|
display:block;
|
|
clear:both;
|
|
height:0;
|
|
visibility:hidden;
|
|
content:" ";
|
|
}
|
|
h1,h2,h3,h4,h5,h6{font-weight:normal;}
|
|
.fl{float:left;}
|
|
.fr{float:right;}
|
|
input{ border: none; border-radius: 0px; background:none;outline:none;}
|
|
input[type="button"],input[type="submit"],input[type="reset"]{
|
|
-webkit-appearance:none;
|
|
appearance:none;
|
|
}
|
|
input[type=text]{
|
|
-webkit-appearance: none;
|
|
}
|
|
select,button{ -webkit-appearance: none; appearance:none;border:none;background:transparent;outline: none;}
|
|
i,em{ font-style:normal;}
|
|
/*placeholder文字默认颜色-webkit-input-placeholder*/
|
|
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ color: #666; }
|
|
::-moz-placeholder { /* Mozilla Firefox 19+ */ color: #666;}
|
|
input:-ms-input-placeholder,
|
|
textarea:-ms-input-placeholder { color: #666;}
|
|
input::-webkit-input-placeholder,
|
|
textarea::-webkit-input-placeholder { color: #666;} |