Is it possible to "inherit" and "override" CSS files?
EG: Imagine I have A.css containing a style called A101.
Is it possible to have B.css which includes A.css and then overrides style A101, either:
i) Simply rename it to B202, and keep all the characteristics unchanged
or
ii) Rename it to B202 and then override some of the settings, and add new ones.
(Essentially, traditional OO class inheritance mechanism)
*REASON*
I have a s/ware product that can apply CSS styles to elements BUT the styles must be specific names. So, I want to use my existing css files, but somehow rename the styles to fit the required names I have to use. (Without mucking with, or duplicating, the original css files.)
Thanks to all.
EG: Imagine I have A.css containing a style called A101.
Is it possible to have B.css which includes A.css and then overrides style A101, either:
i) Simply rename it to B202, and keep all the characteristics unchanged
or
ii) Rename it to B202 and then override some of the settings, and add new ones.
(Essentially, traditional OO class inheritance mechanism)
*REASON*
I have a s/ware product that can apply CSS styles to elements BUT the styles must be specific names. So, I want to use my existing css files, but somehow rename the styles to fit the required names I have to use. (Without mucking with, or duplicating, the original css files.)
Thanks to all.