Created
August 13, 2015 12:51
-
-
Save mewm/5add67266cd7879bd3c2 to your computer and use it in GitHub Desktop.
Pulsing
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
@-webkit-keyframes pulse-animation { | |
0% { -webkit-transform: scale(1); } | |
50% { -webkit-transform: scale(1.5); } | |
100% { -webkit-transform: scale(1); } | |
} | |
.pulse { | |
-webkit-animation-name: 'pulse-animation'; | |
-webkit-animation-duration: 2000ms; | |
-webkit-animation-iteration-count: infinite; | |
-webkit-animation-timing-function: ease-in-out; | |
position: absolute; | |
width: 100px; | |
height: 100px; | |
margin-left: -50px; | |
left: 50%; | |
margin-top: -50px; | |
top: 50%; | |
background-image: url('../images/monogram.png'); | |
background-size: contain; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment