Created
July 27, 2021 11:25
-
-
Save marcusig/7cad476b87aafbbc93be3e93f6306f58 to your computer and use it in GitHub Desktop.
Inline configurator loading message
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Code For Loading Screen */ | |
@keyframes configurator-load { | |
0% { | |
opacity: 0; | |
} | |
50% { | |
opacity: 1; | |
} | |
100% { | |
opacity: 0; | |
} | |
} | |
.mkl-configurator-inline.is-shortcode.configure-product:empty { | |
height: 60vh; | |
} | |
.mkl-configurator-inline.is-shortcode.configure-product:empty::after { | |
content: attr(data-loading); | |
position: absolute; | |
top: 50%; | |
left: 50%; | |
transform: translate(-50%, -50%); | |
text-transform: uppercase; | |
letter-spacing: 2px; | |
-webkit-animation: configurator-load 1.0s infinite ease-in-out; | |
animation: configurator-load 1.0s infinite ease-in-out; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment