D
Doug Miller
I'm developing a style sheet for dropdown/flyout menus, using different colors
for the different functions (base nav bar, dropdown, flyout, hover, etc), and
finding the need to keep specifying the same hex codes in many different
places, e.g.
.navbutton {
background: #451604;
border:solid #451604;
...
}
.navbutton:hover .dropdown li a {
border:solid #451604;
color:#451604;
...
}
and so on for various colors and various functions.
Is there any way to define my own color name, say, "base_button_color", so
that the style sheet could say something like
#define base_button_color=#451604;
.navbutton {
background: base_button_color;
border:solid base_button_color;
...
}
etc.?
for the different functions (base nav bar, dropdown, flyout, hover, etc), and
finding the need to keep specifying the same hex codes in many different
places, e.g.
.navbutton {
background: #451604;
border:solid #451604;
...
}
.navbutton:hover .dropdown li a {
border:solid #451604;
color:#451604;
...
}
and so on for various colors and various functions.
Is there any way to define my own color name, say, "base_button_color", so
that the style sheet could say something like
#define base_button_color=#451604;
.navbutton {
background: base_button_color;
border:solid base_button_color;
...
}
etc.?