Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Let’s touch up the welcome heading a bit more. How about a line under it? That should set the main heading apart visually and add a nice touch. Here’s the property we’ll use to do that:
The trouble is, if we add this property and value to the combined “h1, h2” rule in our CSS, we’ll end up with borders on both our headings:
So, how can we set the bottom border on just the <h1> element, without affecting the <h2> element? Do we have to split up the rules again? Turn the page to find out...