@import "compass/css3";
.box-shadow-example div {
width: 40px;
height: 40px;
background: #eeeeee;
margin: 20px;
float: left;
}
// Default single box shadow
#box-shadow-default {
@include single-box-shadow;
}
// Box shadow with custom settings
#box-shadow-custom {
@include box-shadow(red 2px 2px 10px);
}
#box-shadow-custom-multiple {
@include box-shadow(rgba(blue, 0.4) 0 0 25px, rgba(green, 0.2) 0 0 3px 1px inset);
}
@import compass/css3
.box-shadow-example div
width: 40px
height: 40px
background: #EEE
margin: 20px
float: left
// Default single box shadow
#box-shadow-default
+single-box-shadow
// Box shadow with custom settings
#box-shadow-custom
+box-shadow(red 2px 2px 10px)
#box-shadow-custom-multiple
+box-shadow(rgba(blue, .4) 0 0 25px, rgba(green, .2) 0 0 3px 1px inset)
.box-shadow-example div{width:40px;height:40px;background:#eee;margin:20px;float:left}#box-shadow-default{-webkit-box-shadow:0px 0px 5px #333;-moz-box-shadow:0px 0px 5px #333;box-shadow:0px 0px 5px #333}#box-shadow-custom{-webkit-box-shadow:red 2px 2px 10px;-moz-box-shadow:red 2px 2px 10px;box-shadow:red 2px 2px 10px}#box-shadow-custom-multiple{-webkit-box-shadow:rgba(0,0,255,0.4) 0 0 25px,rgba(0,128,0,0.2) 0 0 3px 1px inset;-moz-box-shadow:rgba(0,0,255,0.4) 0 0 25px,rgba(0,128,0,0.2) 0 0 3px 1px inset;box-shadow:rgba(0,0,255,0.4) 0 0 25px,rgba(0,128,0,0.2) 0 0 3px 1px inset}