From 7e96b853d9b133e348c3d70ddbdcc990da6f84a8 Mon Sep 17 00:00:00 2001 From: mathias Date: Mon, 16 Feb 2015 03:49:53 +0200 Subject: [PATCH] Cleaning up CSS --- css/minecraft.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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; } +}