Skip to content
A website theme switcher using CSS only
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Theme switcher preview

CSS Only Theme Switcher

About the project

This is a website theme switcher made with CSS only. There are two different versions of this:

  1. Using a checkbox to switch between two themes
  2. Using radio buttons for unlimited amount of themes

I also wrote an article on my website explaining the functionality behind this solution, for those interested.


Check it out live or download the files and open index.html in your preferred browser.

A project by Alexander Sandberg

Thanks for checking out my project! ❤️

If you want to get in touch, or check out my other work, you can find me online here:


Distributed under the MIT License © Alexander Sandberg

You can’t perform that action at this time.