.radius (@radius) { -moz-border-radius: @radius; -webkit-border-radius: @radius; border-radius: @radius; } .boxshadow (@shadow) { -moz-box-shadow: @shadow; -webkit-box-shadow: @shadow; -ms-box-shadow: @shadow; -o-box-shadow: @shadow; box-shadow: @shadow; } .gradient (@from, @to, @default) { background: @default; background: -moz-linear-gradient( top, @from 0%, @to 100% ); background: -webkit-gradient( linear, top left, bottom left, color-stop(0, @from), color-stop(1, @to) ); background: -webkit-linear-gradient( top, @from 0%, @to 100% ); background: -o-linear-gradient( top, @from 0%, @to 100% ); background: -ms-linear-gradient( top, @from 0%, @to 100% ); background: linear-gradient( top, @from 0%, @to 100% ); filter: progid:DXImageTransform.Microsoft.Gradient( StartColorStr='@from', EndColorStr='@to', GradientType=0 ); }