12 Star 70 Fork 13

xhhhhh / uni-app-style

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
shape.scss 765 Bytes
一键复制 编辑 原始数据 按行查看 历史
theBestXH 提交于 2020-10-06 10:00 . first commit
.badge {
@mixin badge {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 5upx 10upx;
border-radius: 5upx;
}
&-d {
@include badge;
}
&-c {
@include badge;
padding: 5upx 20upx;
border-radius: 30upx;
}
&-m {
@include badge;
border-radius: 0 10upx 10upx 10upx;
}
&-r {
@include badge;
padding: 5upx 20upx;
border-radius: 30upx 0 0 30upx;
}
}
.dot {
@mixin dot {
display: inline-block;
border-radius: 50%;
overflow: hidden;
}
&-small {
@include dot;
width: 10upx;
height: 10upx;
}
&-medium {
@include dot;
width: 20upx;
height: 20upx;
}
&-large {
@include dot;
width: 30upx;
height: 30upx;
}
}
CSS
1
https://gitee.com/thebestweb/uni-app-style.git
git@gitee.com:thebestweb/uni-app-style.git
thebestweb
uni-app-style
uni-app-style
master

搜索帮助