The markup of the bigger header element might be something like this: <a href="#" class="header header--large">header!</a> The CSS would be: .header { font-size: 1rem; padding: 0.5rem 0.75rem; background: #7F7CFF; }.header--large { font-size: 2rem; } Unfortunately, the code doesn’t turn out well.
.header { font-size: 1em; padding: 0.5em 0.75em; background: #7F7CFF; }.header--large { font-size: 2em; } Both.header and.