Tweak invert class css ? #282
Answered
by
yhatt
tianfanghan
asked this question in
Q&A
-
Hi yhatt. Sorry for bother you again. |
Beta Was this translation helpful? Give feedback.
Answered by
yhatt
Mar 15, 2022
Replies: 2 comments 4 replies
-
Try this: <style>
section.invert h1 {
color: red;
}
</style> The selector |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
yhatt
-
But the code:
can not change the html file background color determined by
can we invert the html background also? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try this:
The selector
section.invert h1
is meaning to targeth1
element within<section>
slide container that hasinvert
class.