...will cause the element to take on the color of its parent (I think this is what you're looking for).
The live demonstration is as follows:
a {
color: inherit;
}
<p>The default color of the html element is black. The default colour of the body and of a paragraph is inherited. This
<a href="http://example.com">link</a> would normally take on the default link or visited color, but has been styled to inherit the color from the paragraph.</p>
Try something like this:
If
Thetext-decoration
doesn't work, change it to:!important
rule overrides all other styles with thetext-decoration
attribute. You can read more about it here.Inherited value:
...will cause the element to take on the color of its parent (I think this is what you're looking for).
The live demonstration is as follows: