For links set:
a { text-decoration: none; } Is this rule inherited by selector pseudo-classes ( a:hover , a:focus , a:active , etc.)?
For links set:
a { text-decoration: none; } Is this rule inherited by selector pseudo-classes ( a:hover , a:focus , a:active , etc.)?
Look at the example and answer your own question whether it is inherited ??? Only in this example, do not check the active, since it is triggered right away.
* { margin: 0; padding: 0; } html, body { width: 100%; height: 100%; background: #272727; perspective: 100px; color: white; } a { display: block; width: 100px; height: 100px; background: red; border: 5px solid red; margin: auto; color: black; background: white; text-decoration: none; } a:hover { color: red; background: green; } a:active { color: red; background: yellow; } a:focus { color: black; background: orange; } <a href="#" target="_blank">я ссылка</a> Source: https://ru.stackoverflow.com/questions/751439/
All Articles
F12there does not show the answer to your question? - Raz Galstyan