From 54caea04412183332dfb9c15f96578f2a306806f Mon Sep 17 00:00:00 2001 From: Marcus Whybrow Date: Fri, 15 Jun 2012 15:02:37 +0100 Subject: [PATCH] Added cross-browser support for player shadow. --- assets/css/style.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/assets/css/style.css b/assets/css/style.css index 1a1bd4a..1170318 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -189,7 +189,15 @@ body { left: -9px; background: -webkit-radial-gradient(50% 50%, cover, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 50%); + background: -moz-radial-gradient(50% 50%, cover, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 50%); + background: -ms-radial-gradient(50% 50%, cover, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 50%); + background: -o-radial-gradient(50% 50%, cover, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 50%); + background: radial-gradient(50% 50%, cover, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 50%); } .players .player:hover .shadow { background: -webkit-radial-gradient(50% 50%, cover, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50%); + background: -moz-radial-gradient(50% 50%, cover, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50%); + background: -ms-radial-gradient(50% 50%, cover, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50%); + background: -o-radial-gradient(50% 50%, cover, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50%); + background: radial-gradient(50% 50%, cover, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50%); } \ No newline at end of file