Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcusig/7cad476b87aafbbc93be3e93f6306f58 to your computer and use it in GitHub Desktop.
Save marcusig/7cad476b87aafbbc93be3e93f6306f58 to your computer and use it in GitHub Desktop.
Inline configurator loading message
/* 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