While I've looked at similar questions on SO, I haven't found the exact solution I'm seeking. What I want is to style two different lines with different background colors.
I attempted this styling:
h1.g1-mega.g1-mega-1st.entry-title:first-line {background:#ffd334;}
h1.g1-mega.g1-mega-1st.entry-title:last-line {background:#ddd;}
<h1 class="g1-mega g1-mega-1st entry-title" itemprop="headline">Top 25 Wild Bird Photographs of the Week: Mountain Birds </h1>
Please see this fiddle for reference.
The CSS for the second line isn't functioning as expected.