From 7a4cb90026557e6a0f10da85bd7f85b8f2d5c657 Mon Sep 17 00:00:00 2001 From: dabai <dabai@yazhai.co> Date: Tue, 7 Apr 2020 11:47:09 +0800 Subject: [PATCH] 公共样式 --- css/reset2.css | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 css/reset2.css diff --git a/css/reset2.css b/css/reset2.css new file mode 100644 index 0000000..1eea75e --- /dev/null +++ b/css/reset2.css @@ -0,0 +1,52 @@ +@charset "utf-8"; +body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,input,button,textarea,select,p,span,font,em,i,b,strong,button{margin:0;padding:0;} +body{margin:0;font-family: "微软雅黑"; background:#fff; overflow:visible; color:#666666;} +html, body { height: 100%;} +input,select{font-size:12px;line-height:16px; border:0 none; vertical-align:middle;} +button{ border:0 none;} +.clear{clear:both;padding:0px;margin:0px;} +img{border:0;} +a {outline: none;} +a:focus { outline:0; } +input,button,select,textarea{outline:none} +ul,li{list-style-type:none;_list-style:outside;} +a{ text-decoration:none; color:#333;} +a:hover{ color:#ff6600;} +/* new clearfix清除浮动 */ +.clearfix:after { + visibility: hidden; + display: block; + font-size: 0; + content: " "; + clear: both; + height: 0; +} +.clearfix { display: block;zoom:1 } +* html .clearfix {height: 1%; zoom: 1; } /* IE6 */ +*:first-child+html .clearfix { zoom: 1; } /* IE7 */ +html[xmlns] .clearfix { display: block; zoom:1} +/*清除浮动-end*/ +h1,h2,h3,h4,h5,h6{font-weight: normal} + +/*这一句是用来解决在安卓上的点击出现篮框问题*/ +body{ -webkit-tap-highlight-color:rgba(0,0,0,0); } +/*下面是解决ios上去除微信点击蓝色边框 */ +a:focus, +input:focus, +p:focus, +div:focus{ +-webkit-tap-highlight-color:rgba(0,0,0,0); +-webkit-user-modify:read-only; +} + +::-webkit-scrollbar {display:none} + +input {-webkit-appearance:none; /*去除input默认样式*/} + +.ellipsis{ + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +.hide{display: none;} + -- libgit2 0.25.0