When I implement the following code:
<div class="metanav">
...
</div>
Every element inside that div will inherit the styling of .metanav
.
But if I duplicate .metanav
in the CSS and rename it to A
; then update the div's class to:
<div class="A">
nothing seems to change.
The relevant css snippets are:
.metanav { text-align: right; font-size: 0.8em; padding: 0.3em;
margin-bottom: 1em; background: #fafafa; }
.A { text-align: right; font-size: 0.8em; padding: 0.3em;
margin-bottom: 1em; background: #fafafa; }
What am I missing here?