diff --git a/css/minecraft.css b/css/minecraft.css index 3ffe7c9..17b8565 100644 --- a/css/minecraft.css +++ b/css/minecraft.css @@ -29,6 +29,11 @@ body { color: #fff; background: #000; webkit-tap-highlight-color: rgba(255,255,255,.2); + -webkit-animation: fadein 3s; + -moz-animation: fadein 3s; + -ms-animation: fadein 3s; + -o-animation: fadein 3s; + animation: fadein 3s; } h2 { @@ -216,3 +221,19 @@ font-size: 25px; margin-bottom: 45px; } } +@keyframes fadein { + from { opacity: 0; } + to { opacity: 1; } +} +@-moz-keyframes fadein { + from { opacity: 0; } + to { opacity: 1; } +} +@-webkit-keyframes fadein { + from { opacity: 0; } + to { opacity: 1; } +} +@-ms-keyframes fadein { + from { opacity: 0; } + to { opacity: 1; } +}