鼠标不可点击时的显示状态
cursor: not-allowed
禁止触发点击事件
pointer-events:none
...
yekong
2年前 (2022-03-02) 1059℃
0喜欢
svg图标上传到iconfont后变得特别小,没办法用,也看不到,iconfont的编辑功能不给力,于是找了一个第三方平台
icomoon将svg图标上传上去编辑后重新上传到iconfont就可以正常使用了。
...
yekong
2年前 (2022-02-09) 1173℃
0喜欢
text-decoration:line-through
...
yekong
2年前 (2022-01-26) 1138℃
0喜欢
.expand {
transform: rotate(90deg);
-ms-transform: rotate(90deg);
/* Internet Explorer 9*/
-moz-transform: rotate(90deg);
/* Firef...
yekong
2年前 (2022-01-16) 1368℃
0喜欢
在一些情况下父类的面积太大,但是又需要父类遮挡住的区域允许穿透点击,但是父类下的子类不允许穿透,要可以点击到。
给子类单独写一下就可以了。
.fu {
pointer-events: none;
}
.zi{
pointer-events: initial;
}
...
yekong
2年前 (2022-01-12) 1102℃
2喜欢
.popSearchBody {
::v-deep {
/* 设置树形最外层的背景颜色和字体颜色 */
.el-tree {
color: #fff;
background: transparent;
}
/* 设置三...
yekong
2年前 (2021-12-20) 2618℃
2喜欢
chrome 和Safari
.element::-webkit-scrollbar { width: 0 }
IE 10+
.element { -ms-overflow-style: none; }
Firefox
.element { overflow: -moz-sc...
yekong
2年前 (2021-12-15) 891℃
1喜欢
css方法:
video::-webkit-media-controls{
display:none !important;
}
js方法:
var video=document.getElementById("video");...
yekong
2年前 (2021-12-14) 743℃
0喜欢
word-break: break-all
span {
font-size: 18px;
font-family: PingFang;
font-weight: 500;
color: #8FB2C...
yekong
2年前 (2021-12-08) 1050℃
2喜欢
width: 12px;
height: 90px;
background: linear-gradient(0deg, #F89B00 0%, #FFC547 100%);
...
yekong
2年前 (2021-12-08) 713℃
0喜欢