Often in user interface design, there are cases where an element should have all of the properties of another element, and then possibly some unique properties unto itself.
The common approach to dealing with this has been to adjust the markup of a document such that the element has the qualities of both elements.
For instance, imagine if we have a design for a normal error and also for a serious error. We might write our markup like so: