style: 伪元素统一采用双冒号格式
This commit is contained in:
parent
8eb8876f04
commit
f966b45ace
@ -9,26 +9,26 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#app-loading,
|
#app-loading,
|
||||||
#app-loading:before,
|
#app-loading::before,
|
||||||
#app-loading:after {
|
#app-loading::after {
|
||||||
width: 2em;
|
width: 2em;
|
||||||
height: 2em;
|
height: 2em;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
animation: 2s ease-in-out infinite app-loading-animation;
|
animation: 2s ease-in-out infinite app-loading-animation;
|
||||||
}
|
}
|
||||||
|
|
||||||
#app-loading:before,
|
#app-loading::before,
|
||||||
#app-loading:after {
|
#app-loading::after {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
#app-loading:before {
|
#app-loading::before {
|
||||||
left: -4em;
|
left: -4em;
|
||||||
animation-delay: -0.2s;
|
animation-delay: -0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
#app-loading:after {
|
#app-loading::after {
|
||||||
left: 4em;
|
left: 4em;
|
||||||
animation-delay: 0.2s;
|
animation-delay: 0.2s;
|
||||||
}
|
}
|
||||||
|
@ -35,8 +35,8 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
*,
|
*,
|
||||||
*:before,
|
*::before,
|
||||||
*:after {
|
*::after {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/** 清除浮动 */
|
/** 清除浮动 */
|
||||||
@mixin clearfix {
|
@mixin clearfix {
|
||||||
&:after {
|
&::after {
|
||||||
content: "";
|
content: "";
|
||||||
display: table;
|
display: table;
|
||||||
clear: both;
|
clear: both;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user