Use mixins for vendor prefixes

This commit is contained in:
Toby Zerner 2015-06-25 15:38:40 +09:30
parent d2c1e3a3d7
commit c9e0e9e6e1

View File

@ -99,14 +99,20 @@
} }
} }
} }
@keyframes blink { @keyframes blink {
0% {opacity: 0.5} 0% {opacity: 0.5}
50% {opacity: 1} 50% {opacity: 1}
100% {opacity: 0.5} 100% {opacity: 0.5}
} }
@-webkit-keyframes blink {
0% {opacity: 0.5}
50% {opacity: 1}
100% {opacity: 0.5}
}
.loading-post { .loading-post {
animation: blink 1s linear; .animation(blink 1s linear);
animation-iteration-count: infinite; .animation-iteration-count(infinite);
} }
.fake-text { .fake-text {
display: inline-block; display: inline-block;
@ -176,16 +182,12 @@
100% {transform: scale(1)} 100% {transform: scale(1)}
} }
.item.pulsate { .item.pulsate {
animation: pulsate 1s ease-in-out; .animation(pulsate 1s ease-in-out);
animation-iteration-count: infinite; .animation-iteration-count(infinite);
-webkit-animation: pulsate 1s ease-in-out;
-webkit-animation-iteration-count: infinite;
} }
.item.flash { .item.flash {
animation: pulsate 0.2s ease-in-out; .animation(pulsate 0.2s ease-in-out);
animation-iteration-count: 1; .animation-iteration-count(1);
-webkit-animation: pulsate 0.2s ease-in-out;
-webkit-animation-iteration-count: 1;
} }
.post-header { .post-header {
margin-bottom: 10px; margin-bottom: 10px;