Skip to content

Instantly share code, notes, and snippets.

@mewm
Created August 13, 2015 12:51
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 mewm/5add67266cd7879bd3c2 to your computer and use it in GitHub Desktop.
Save mewm/5add67266cd7879bd3c2 to your computer and use it in GitHub Desktop.
Pulsing
@-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