css伪元素
.titleList text.active::after {
content: "";
width: 40rpx;
height: 2rpx;
display: block;
background: red;
position: absolute;
bottom: 0;
left: 0;
}
小程序swiper指示器的位置
.wx-swiper-dots{position:relative;left: unset!important;right: 0;}
.wx-swiper-dots.wx-swiper-dots-horizontal{
margin-bottom: -5rpx;
}
vscode设置缩进2个空格或者4个空格
- 点击菜单栏中的文件–》首选项–》设置,搜索tabsize