HTML Templates How to Build a Simple Theme Switcher With the CSS Checkbox Hack Tutorial • Intermediate In this tutorial, you’ll learn how to create a CSS-only theme switcher by taking advantage of the “CSS checkbox hack technique” and CSS variables.