// Transitions .transition(@transition) { -webkit-transition: @transition; -moz-transition: @transition; -o-transition: @transition; transition: @transition; } .transition(@transition1, @transition2) { -webkit-transition: @transition1, @transition2; -moz-transition: @transition1, @transition2; -o-transition: @transition1, @transition2; transition: @transition1, @transition2; } .transform(@string){ transform: @string; -webkit-transform: @string; -moz-transform: @string; -ms-transform: @string; -o-transform: @string; } .transform_important(@string){ transform: @string !important; -webkit-transform: @string !important; -moz-transform: @string !important; -ms-transform: @string !important; -o-transform: @string !important; } // Drop shadows .box-shadow(@shadow) { -webkit-box-shadow: @shadow !important; -moz-box-shadow: @shadow !important; box-shadow: @shadow !important; } // Box sizing .box-sizing(@boxmodel) { -webkit-box-sizing: @boxmodel; -moz-box-sizing: @boxmodel; box-sizing: @boxmodel; } // Sprite Function .stitches-sprite(@x: 0, @y: 0, @width: 0, @height: 0) { background-position: @x @y; width: @width; height: @height; } // Clearfix .clearfix { *zoom: 1; &:before, &:after { display: table; content: ''; line-height: 0; } &:after { clear: both; } }