As already mentioned on the CSS mailing list:
I would like to see simple constant declarations at the top of a CSS file.
This would enable the use of a constant to define such things as pathnames to image files.
So instead of:
_body {
background-image: url(../../images/blue_angle_swirl.jpg);
background-position: center;
background-attachment: fixed;
}_
I could do something like:
/* constant declarations at top of stylesheet */
_const
image_path = “../../images”;
another_const_1 = “abc”,
another_const_2 = “def”,


another_const_x = “xyz”,
endconst
/* stylesheet body */
body {
background-image: url(image_path/blue_angle_swirl.jpg);
background-position: center;
background-attachment: fixed;
}_
At the moment, I have to hand-code paths to images in CSS.
It would be much easier to define the constants at the top of the stylesheet, and just change one instance of the constant declaration there, rather than having to search through the styles and having to alter each hard-coded instance by hand.