I’m using a style sheet .t-button for buttons defined as..
.t-button
{
border-color: #a7bac5;
color: #333;
}
the definition of this style is generated at runtime in an .axd file
Is there a way to apply this specific style sheet to all normal buttons in my application? something like…
button, input[type="button"], input[type="submit"]
{
/*apply "t.button" */
}
CSS can’t do this, but precompiled CSS extensions like LESS and SASS can.
Example stolen from LESS’s front page:
and from SASS: