How can i reuse a color in a stylesheet?
Posted
by Michel
on Stack Overflow
See other posts from Stack Overflow
or by Michel
Published on 2010-04-27T13:35:34Z
Indexed on
2010/04/27
13:43 UTC
Read the original article
Hit count: 171
css
Hi,
i have a stylesheet and a lot of styles with the same border color (#CCCCCC to be precise).
Is there a way to specify some kind of variable and reuse that, so in stead of typing #CCCCCC over and over, i can type
border: 1px solid $bordercolor;
ps i'm using asp.net mvc
© Stack Overflow or respective owner