
Untitled
By: a guest on
Jun 10th, 2012 | syntax:
None | size: 0.48 KB | hits: 24 | expires: Never
CSS to reference another CSS
.t-button
{
border-color: #a7bac5;
color: #333;
}
button, input[type="button"], input[type="submit"]
{
/*apply "t.button" */
}
.rounded-corners (@radius: 5px) {
border-radius: @radius;
-webkit-border-radius: @radius;
-moz-border-radius: @radius;
}
#header {
.rounded-corners;
}
#footer {
.rounded-corners(10px);
}
.error {
border: 1px #f00;
background: #fdd;
}
.badError {
@extend .error;
border-width: 3px;
}