Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
1b7a3ca4
Commit
1b7a3ca4
authored
12 years ago
by
Luis Aleman
Browse files
Options
Download
Email Patches
Plain Diff
Changed box-shadow mixin to accept infinite, comma separated, shadows
parent
3b67ece2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
less/mixins.less
+5
-4
less/mixins.less
with
5 additions
and
4 deletions
+5
-4
less/mixins.less
+
5
-
4
View file @
1b7a3ca4
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment