DEV Community

Hao
Hao

Posted on

38 13

Light Switch

Using only css and html. A switch that turns the light on and off :)

Top comments (11)

Collapse
 
dayvster profile image
Dayvster 🌊 β€’

HAH, I love it!

It always impresses me how much creativity some of you CSS experts have.

Collapse
 
wheatup profile image
Hao β€’

Lol thanks, although I won't call myself a css expert since I always got my mind blown by other people's works.
Always keep learning and refining. πŸ˜ƒ

Collapse
 
dayvster profile image
Dayvster 🌊 β€’

I don't know man, your work up there is pretty impressive in my opinion and not something a beginner or intermediate would do.

Collapse
 
milburngomes profile image
MilburnGomes β€’

Awesome work, as always!
Just FYI your article "quiz-about-javascript-numbers-bph" doesn't exists anymore.

Collapse
 
wheatup profile image
Hao β€’

Thanks and oh... that's because I took it down, it's outdated πŸ˜…

Collapse
 
milburngomes profile image
MilburnGomes β€’

No problem, I clicked on it as the link to it was shown in the "More from @wheatup " section. It looked something interesting :)

Collapse
 
jorgeirun profile image
Jorge β€’

Really cool! and no JS

Collapse
 
jeremy profile image
Jeremy Schuurmans β€’

This is awesome!

Collapse
 
patricnox profile image
PatricNox β€’

This is very impressive!

Collapse
 
awwsmm profile image
Andrew (he/him) β€’ β€’ Edited

Cute! Would be good for dark mode / light mode switching!

Collapse
 
wheatup profile image
Hao β€’

That might be a good idea, although it seems too bulky to fit in anywhere πŸ˜…

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay