From 607e77ce09ac8f74704304ffa58159b04d2b982c Mon Sep 17 00:00:00 2001 From: jaswsinc Date: Tue, 9 Feb 2016 12:33:58 -0900 Subject: [PATCH] Updating animation keyframes. --- src/_sharkicons.scss | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/_sharkicons.scss b/src/_sharkicons.scss index 94cc7ec..ad0b01f 100644 --- a/src/_sharkicons.scss +++ b/src/_sharkicons.scss @@ -163,13 +163,15 @@ } } - @include keyframes(#{$prefix}-animation-spin) { - 0% { - @include transform(rotate(0deg)); - } + @at-root { + @include keyframes(#{$prefix}-animation-spin) { + 0% { + @include transform(rotate(0deg)); + } - 100% { - @include transform(rotate(359deg)); + 100% { + @include transform(rotate(359deg)); + } } } }