Skip to content

Tweak invert class css ? #282

Answered by yhatt
tianfanghan asked this question in Q&A
Mar 15, 2022 · 2 comments · 4 replies
Discussion options

You must be logged in to vote

Try this:

<style>
section.invert h1 {
  color: red;
}
</style>

The selector section.invert h1 is meaning to target h1 element within <section> slide container that has invert class.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@tianfanghan
Comment options

Answer selected by yhatt
Comment options

You must be logged in to vote
3 replies
@tianfanghan
Comment options

@yhatt
Comment options

@tianfanghan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants