aboutsummaryrefslogtreecommitdiff
path: root/src/css
diff options
context:
space:
mode:
authorolOwOlo <26087907+olOwOlo@users.noreply.github.com>2017-10-13 21:43:30 +0800
committerolOwOlo <26087907+olOwOlo@users.noreply.github.com>2017-10-13 21:43:30 +0800
commit758f15746a9337345ee9df5ad5d00798fef91ba7 (patch)
tree30e1746ba4a4aaff2a974385238a698e6e2bf76d /src/css
parent22515fb8c090568c21a5dbe80e2e38380b53e908 (diff)
fix: fallback for browsers which doesn't support for `calc()`
See #13 release 2.6.4
Diffstat (limited to 'src/css')
-rw-r--r--src/css/_common/_animation.scss3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/css/_common/_animation.scss b/src/css/_common/_animation.scss
index 2c3934c..d596b16 100644
--- a/src/css/_common/_animation.scss
+++ b/src/css/_common/_animation.scss
@@ -96,6 +96,9 @@
span {
position: absolute;
+ /* fallback for browsers which still doesn't support for `calc()` */
+ left: 15px;
+ top: 25px;
left: calc((100% - 20px) / 2);
top: calc((100% - 1px) / 2);
width: 20px;