Refactor, tweaks, clean-up, improve

This commit is contained in:
Melvin Valster
2019-07-24 23:27:23 +02:00
parent 36742ea22e
commit e021dea1ab
16 changed files with 258 additions and 130 deletions
+9 -5
View File
@@ -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;
}
}
}