CSS样式重置 reset.css

html,body,h1,h2,h3,h4,h5,h6,div,dl,dt,dd,ul,ol,li,p,blockquote,pre,hr,figure,table,caption,th,td,form,fieldset,legend,input,button,textarea,menu {margin:0;padding:0;}
table {border-collapse:collapse;border-spacing:0;}
caption,th {text-align:left;font-weight:normal;}
html,body,fieldset,img,iframe,abbr {border:0;}
i,cite,em,var,address,dfn {font-style:normal;}
ul,ol,li {list-style:none;}
a {text-decoration:none;}
a,button {cursor:pointer;}
img {border:0;}
input,textarea {border:none;outline:none;-webkit-appearance:none;-webkit-appearance:none;-webkit-tap-highlight-color:rgba(0,0,0,0);}
textarea {overflow:auto;resize:none;}
.fl {float:left;}
.fr {float:right;}
.clearfix {zoom:1;}
.clearfix:after {content:'';display:block;clear:both;visibility:hidden;overflow:hidden;}
.flex {display:-webkit-box;display:-webkit-flex;display:flex;}
.flex_item {-webkit-box-flex:1;-webkit-flex:1;flex:1;}
.ellipsis {white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.ellipsis_2 {display:-webkit-box !important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-box-orient:vertical;-webkit-line-clamp:2;}
.show {display:block;}
.hide {display:none;}
.center {text-align:center;}
posted @ 2022-07-20 18:15  猫老板的豆  阅读(187)  评论(0编辑  收藏  举报