CSS公共样式

@charset "utf-8";
{margin: 0;padding: 0;-webkit-tap-highlight-color: transparent;-webkit-overflow-scrolling: touch;}
body, div, ul, li, h1, h2, h3, h4, h5, h6, p, dl, dt, dd, ol, form, input, textarea, th, td, select{margin: 0;padding: 0;}
ul,li{list-style: none;}
a{text-decoration: none;}
input,textarea{outline: none;text-shadow: none;}
textarea{resize: none;overflow: auto;}
input:focus,textarea:focus{outline: none;}
::-webkit-input-placeholder{color: #999;}
img{border: none;}
/
移动端去掉苹果按钮默认样式/
button{-webkit-appearance:none}
/
取消斜体/
i,em{font-style: normal;}
/
取消加粗/
strong,b{font-weight: normal;}
/
禁止换行/
.ellipse {overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
/
清除上下浮动的影响*/
.clear{clear: both;}

posted @ 2018-01-06 23:21  MiniDuck  阅读(266)  评论(0编辑  收藏  举报