Is it possible to inherit styles?

0 votes
asked Dec 10, 2023 in Question / help by Chris

Lets say that I'd like to define a base style, and create a number of substyles defined off that. These substyles could either add (define) new properties for a style, or change settings on existing styles. 

For example:

.BaseStyle { BackgroundColor Green; FontColor White; LineColor Gold; }
.FirstDerivedStyle { <link to .BaseStyle>; FontColor Black; } ' change the existing .BaseStyle font color to black
.SecondDerivedStyle { <link to .BaseStyle>; LineStyle 3; } ' adds the line style attribute to .BaseStyle

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...