style: 伪元素统一采用双冒号格式

This commit is contained in:
pany 2023-08-17 13:55:23 +08:00
parent 8eb8876f04
commit f966b45ace
3 changed files with 9 additions and 9 deletions

View File

@ -9,26 +9,26 @@
}
#app-loading,
#app-loading:before,
#app-loading:after {
#app-loading::before,
#app-loading::after {
width: 2em;
height: 2em;
border-radius: 50%;
animation: 2s ease-in-out infinite app-loading-animation;
}
#app-loading:before,
#app-loading:after {
#app-loading::before,
#app-loading::after {
content: "";
position: absolute;
}
#app-loading:before {
#app-loading::before {
left: -4em;
animation-delay: -0.2s;
}
#app-loading:after {
#app-loading::after {
left: 4em;
animation-delay: 0.2s;
}

View File

@ -35,8 +35,8 @@ body {
}
*,
*:before,
*:after {
*::before,
*::after {
box-sizing: border-box;
}

View File

@ -1,6 +1,6 @@
/** 清除浮动 */
@mixin clearfix {
&:after {
&::after {
content: "";
display: table;
clear: both;