🌑Show/hide on the Dark Mode

Use the following CSS classes to manage different themes on your website:

Hidden on the dark mode view

hide-on-darkmode: This class hides elements in dark mode view.

<img src="URL" class="hide-on-darkmode" alt=""/>

Hidden on the light mode view

hide-on-lightmode: This class hides elements in light mode view.

It's recommended to use these classes for images with white backgrounds or other elements that need to be hidden based on the theme.

<img src="URL" class="hide-on-lightmode" alt=""/>

Last updated

Was this helpful?