mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-28 20:52:21 +01:00
Changed box-shadow mixin to accept infinite, comma separated, shadows
This commit is contained in:
parent
3b67ece2d1
commit
1b7a3ca416
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user