Skip to content

Instantly share code, notes, and snippets.

@EntranceJew
Created April 4, 2016 14:48
Show Gist options
  • Save EntranceJew/7bffb631617ee3b1c3f65c62d99418ea to your computer and use it in GitHub Desktop.
Save EntranceJew/7bffb631617ee3b1c3f65c62d99418ea to your computer and use it in GitHub Desktop.
to prevent your code from going straight to production, include this
.ironic {
font-family: "Comic Sans MS", "Comic Sans", cursive;
color: rebeccapurple;
font-size: 26pt;
text-shadow: black 0px 3px 18px;
text-align: center;
display: block;
width: 100%;
/* keep it in place */
position: absolute;
left: 0;
transform: translateX(-50%);
}
@-ms-keyframes spin {
from { -ms-transform: rotate(0deg); }
to { -ms-transform: rotate(360deg); }
}
@-moz-keyframes spin {
from { -moz-transform: rotate(0deg); }
to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
from { -webkit-transform: rotate(0deg); }
to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
from {
transform:rotate(0deg);
}
to {
transform:rotate(360deg);
}
}
.spin {
-webkit-animation-name: spin;
-webkit-animation-duration: 4000ms;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
-moz-animation-name: spin;
-moz-animation-duration: 4000ms;
-moz-animation-iteration-count: infinite;
-moz-animation-timing-function: linear;
-ms-animation-name: spin;
-ms-animation-duration: 4000ms;
-ms-animation-iteration-count: infinite;
-ms-animation-timing-function: linear;
animation-name: spin;
animation-duration: 4000ms;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
@-webkit-keyframes blink {80%{opacity:0.0}}
.blink {
-webkit-animation: blink 1s steps(1,end) 0s infinite;
}
.spin.blink {
-webkit-animation: spin 4000ms infinite linear, blink 1s steps(1,end) 0s infinite;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment