From b0fc35b1e4971cbab549207ee8c9f2f48428e9d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Sat, 31 Jan 2015 13:24:48 +0100 Subject: [PATCH] Added transition on boxshadow --- static/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/style.css b/static/style.css index 625ca93b..24cc331f 100755 --- a/static/style.css +++ b/static/style.css @@ -99,7 +99,7 @@ input[type="radio"]{display: none;} .button:hover{background-color: rgba(255,255,255,0.4); } #loading{display:none;} -#search{padding-left:50px;background: url(search2.png)no-repeat 10px 50%;background-color: rgba(255,255,255,0.2);background-size:2%;} +#search{padding-left:50px;background: url(search2.png)no-repeat 10px 50%;background-color: rgba(255,255,255,0.2);background-size:2%;transition: box-shadow 0.5s;} #search:focus{ box-shadow: 0px 0px 5px 2px #000;} @-webkit-keyframes fadein{from {opacity:0;}to{opacity:1;}}@keyframes fadein{from{opacity:0;}to{opacity:1;}}@-moz-keyframes fadein{from{opacity:0;}to{opacity:1;}}@-o-keyframes fadein{from{opacity:0;}to{opacity:1;}}