0

How should one go about targeting multiple html tags at once in css? Is it essentially just:

h1 h2 h3 h4 h5 h6 {
     font-weight:lighter;
}
1

1 Answer 1

1

You need commas like this:

h1, h2, h3, h4, h5, h6 {
font-weight:lighter;
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.