Pls help change a variable for a specific area

I want to change the value of --penguin-belly to white in the penguin class.
Thi is my code so far:

:root { --penguin-skin: gray; --penguin-belly: white; } but my problem now is how to reassign the --penguin-belly variable to white

Can you provide a link the challenge? We don’t have them memorized.

1 Like

Basic CSS: Change a variable for a specific area | Hope am right

I think your code works for me. To be sure, you need to rpovd all of the code.

Also, be careful because some things like dark mode and night mode and some browser plugins can affect color tests.

@kevinSmith , thank you very much

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.