Skip to content
Discussion options

You must be logged in to vote

it's useful in such cases to take a look at the browser's Dev tools and check what is being selected. You want to select the h2 element from that section, not the whole section:

h2.blue_header {
           background-color: #023a6f;
           font-weight: bold;
           color: white;
           }

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@mcanouil
Comment options

@baptiste
Comment options

Answer selected by kangning0125
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
html Issues with HTML and related web technology (html/css/scss/js)
3 participants