Commit 1b7a3ca4 authored by Luis Aleman's avatar Luis Aleman
Browse files

Changed box-shadow mixin to accept infinite, comma separated, shadows

parent 3b67ece2
Showing with 5 additions and 4 deletions
+5 -4
...@@ -251,10 +251,11 @@ ...@@ -251,10 +251,11 @@
} }
// Drop shadows // Drop shadows
.box-shadow(@shadow) { .box-shadow(@shadowA, @shadowB:X, ...){
-webkit-box-shadow: @shadow; @props: ~`"@{arguments}".replace(/[\[\]]|\,\sX/g, '')`;
-moz-box-shadow: @shadow; -webkit-box-shadow: @props;
box-shadow: @shadow; -moz-box-shadow: @props;
box-shadow: @props;
} }
// Transitions // Transitions
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment