Refactor, tweaks, clean-up, improve
This commit is contained in:
@@ -60,17 +60,20 @@
|
||||
}
|
||||
}
|
||||
|
||||
&--loading {
|
||||
&--loaded {
|
||||
.icon__bg {
|
||||
opacity: 0;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
&.icon--fade-in .icon__bg {
|
||||
animation: fadeIn .1s forwards;
|
||||
}
|
||||
}
|
||||
|
||||
&__bg {
|
||||
position: absolute;
|
||||
background-size: cover;
|
||||
opacity: 1;
|
||||
transition: all 100ms ease-out;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
&__frame {
|
||||
@@ -79,4 +82,5 @@
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user