CSS: Add box-shadow mixin

This commit is contained in:
Eric Lippmann 2015-12-04 10:55:47 +01:00
parent 30124f384e
commit 9b27a83600
1 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,12 @@
box-sizing: @sizing; box-sizing: @sizing;
} }
.box-shadow(@x: 0.2em; @y: 0.2em; @blur: 0.2em; @spread: 0; @color: rgba(83, 83, 83, 0.25)) {
-webkit-box-shadow: @arguments;
-moz-box-shadow: @arguments;
box-shadow: @arguments;
}
.button() { .button() {
.rounded-corners(3px); .rounded-corners(3px);
background-color: @body-bg-color; background-color: @body-bg-color;