0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-03-15 15:29:22 +01:00

add comment to go with updated box-shadow mixin

This commit is contained in:
Mark Otto 2012-09-03 01:04:53 -07:00
parent f46813a8c8
commit f25129361b

View File

@ -249,6 +249,7 @@
// Drop shadows // Drop shadows
.box-shadow(@shadowA, @shadowB:X, ...){ .box-shadow(@shadowA, @shadowB:X, ...){
// Multiple shadow solution from http://toekneestuck.com/blog/2012/05/15/less-css-arguments-variable/
@props: ~`"@{arguments}".replace(/[\[\]]|\,\sX/g, '')`; @props: ~`"@{arguments}".replace(/[\[\]]|\,\sX/g, '')`;
-webkit-box-shadow: @props; -webkit-box-shadow: @props;
-moz-box-shadow: @props; -moz-box-shadow: @props;