[CSS DEMO] Day/Night Toggle

Harrie

Info


Created
1 year, 24 days ago
Creator
Harrie
Favorites
151
CSS

Profile


Harrie

I've no particular intention of releasing any CSS in the near future, but it probably comes as no surprise when you look at the kind of layouts that I make that I have a variety of CSS specific tricks up my sleeve that I haven't really seen anybody implement.

Below is a demo of how you can set up a dark-mode toggle using CSS. You are welcome to inspect it with your browser's dev tools and see how it is done. Credit is not necessary if you implement this method, but a little shout-out would be appreciated!

Of course, if you have custom CSS disabled, this demo will not work, so you'll need to change that in your settings.

This demo is using CSS to create custom functionality. Please visit your display settings and enable Custom CSS to view this profile as intended. If you are seeing this notice because my premium has run out, just let me know and I'll fix it.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent vel molestie risus. Aliquam euismod urna in mauris faucibus volutpat sed eu tellus.

Morbi iaculis leo sapien, et iaculis libero congue sed. Nulla mollis felis dolor, et fringilla purus viverra in. Cras eu bibendum elit. Sed tincidunt urna non euismod gravida.