Gist de bienvenida para el curso 'el periodista como programador' para la UNIR.
Last active
February 7, 2016 09:37
-
-
Save ruizfrontend/0ffa3df120f6eb5db4c6 to your computer and use it in GitHub Desktop.
El periodista como programador
This file contains hidden or 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
<!DOCTYPE html> | |
<head> | |
<meta charset="utf-8"> | |
<link href='https://fonts.googleapis.com/css?family=Roboto+Condensed:700' rel='stylesheet' type='text/css'> | |
</head> | |
<body> | |
<h1 class="rotating">Hello World<small>'El periodista como programador' @UNIR 2016</small></h1> | |
<style> | |
html { height: 100%; } | |
body { background: #414648; font-family: 'Roboto Condensed', sans-serif; display: flex; height: 100%; overflow: hidden; align-items: center; } | |
h1 { color: white; font-size: 3em; text-align: center; width: 100%; background: #0c647e; line-height: 0.7em; padding: 1em 0; } | |
small { display: block; font-size: 0.5em; } | |
@-webkit-keyframes rotating /* Safari and Chrome */ { | |
from { | |
-ms-transform: rotate(0deg); | |
-moz-transform: rotate(0deg); | |
-webkit-transform: rotate(0deg); | |
-o-transform: rotate(0deg); | |
transform: rotate(0deg); | |
} | |
to { | |
-ms-transform: rotate(360deg); | |
-moz-transform: rotate(360deg); | |
-webkit-transform: rotate(360deg); | |
-o-transform: rotate(360deg); | |
transform: rotate(360deg); | |
} | |
} | |
@keyframes rotating { | |
from { | |
-ms-transform: rotate(0deg); | |
-moz-transform: rotate(0deg); | |
-webkit-transform: rotate(0deg); | |
-o-transform: rotate(0deg); | |
transform: rotate(0deg); | |
} | |
to { | |
-ms-transform: rotate(360deg); | |
-moz-transform: rotate(360deg); | |
-webkit-transform: rotate(360deg); | |
-o-transform: rotate(360deg); | |
transform: rotate(360deg); | |
} | |
} | |
.rotating { | |
-webkit-animation: rotating 10s linear infinite; | |
-moz-animation: rotating 10s linear infinite; | |
-ms-animation: rotating 10s linear infinite; | |
-o-animation: rotating 10s linear infinite; | |
animation: rotating 10s linear infinite; | |
} | |
</style> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment