CSS only toggle switch

A simple way to make your app look more polished is to replace checkboxes with toggle switches. Most users will already be familiar with their functionality, thanks to their use throughout iOS.

Building a toggle switch only requires minimal extra markup and can be animated through CSS. The technique I'm using today is based on the tutorial by w3schools.com.
In the next video, I'll show you how you can turn this toggle switch into a reusable Vue component.