text-align
text-align: center;
text-align: -moz-center;
text-align: -webkit-center;
background-color
background-color:orange;
background-color:orange\0;
background-color:orange\9\0;
*background-color:orange;
_background-color:orange;
line-height
line-height: 35px\9;
*line-height: 35px;
_line-height: 35px;
-ms-line-height: 35px;
-webkit-line-height: 1;
-moz-line-height: 35px;
float清除浮动
<div class="clearfix">
<div class="f-left">左侧</div>
<div class="f-right">右侧</div>
</div>
.f-left {
float: left;
}
.f-right {
float: right;
}
.clearfix:after {
content: "";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.clearfix {
*zoom: 1;
}
a标签去掉下划线
text-decoration: none;
-webkit-user-select: none;
-moz-user-focus: none;
-moz-user-select: none;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
滚动条样式修改
.el-textarea__inner{
overflow: auto;
scrollbar-arrow-color: rgb(193, 193, 193);
scrollbar-face-color: rgb(193, 193, 193);
scrollbar-track-color: rgb(255, 255, 255);
}
.el-textarea__inner::-webkit-scrollbar {
width: 7px;
height: 7px;
background-color: rgb(241, 241, 241);
border-radius: 3px;
}
.el-textarea__inner::-webkit-scrollbar-thumb {
background-color: rgb(193, 193, 193);
border-radius: 3px;
}