From 37917ba52d7ac10bd02e828f8121af5c8e7ed9bd Mon Sep 17 00:00:00 2001 From: exane Date: Sat, 4 Jul 2015 16:18:22 +0200 Subject: [PATCH] animation stuff --- client/scss/main.scss | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/client/scss/main.scss b/client/scss/main.scss index 6757467..f0ec377 100644 --- a/client/scss/main.scss +++ b/client/scss/main.scss @@ -53,12 +53,28 @@ $game-height: 800px; .card:first-child { margin-left: 0 !important; } + &.active { - box-shadow: 0px 0px 15px #ffbb0b !important; + //box-shadow: 0px 0px 15px #ffbb0b !important; + animation: WoobWoob linear 2s; + animation-iteration-count: infinite; +/* &:hover { box-shadow: 0px 0px 30px #ffd135 !important; } +*/ + } +} +@keyframes WoobWoob { + 0% { + box-shadow: 0px 0px 15px #ffbb0b !important; + } + 50% { + box-shadow: 0px 0px 40px #ffd135 !important; + } + 100% { + box-shadow: 0px 0px 15px #ffbb0b !important; } }