Skip to content

Instantly share code, notes, and snippets.

@Antonio-Laguna
Created December 26, 2012 10:26
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 Antonio-Laguna/4379471 to your computer and use it in GitHub Desktop.
Save Antonio-Laguna/4379471 to your computer and use it in GitHub Desktop.
Ey, eligeme a mi!
/**
* Ey, eligeme a mi!
*/
body {
background: #EFEFEF;
}
div.recuadro {
background: #fff;
margin: 0 300px;
width: 200px;
padding: 50px;
text-align: center;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
-moz-box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
}
@-webkit-keyframes flash {
0%, 50%, 100% {opacity: 1;}
25%, 75% {opacity: 0;}
}
@keyframes flash {
0%, 50%, 100% {opacity: 1;}
25%, 75% {opacity: 0;}
}
.recuadro {
-webkit-animation-name: flash;
animation-name: flash;
animation-duration: 1s;
-webkit-animation-duration: 1s;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
}
<div class="recuadro">Pasa el cursor por encima</div>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment