CSS Toggle Switch

preview_player
Показать описание
In this video, I show you how to create a 3 Way Toggle Switch in CSS. No JavaScript!

0:00 Intro / Beginning
1:50 Writing the HTML
3:04 Adding basic styles
4:17 Adding and styling the selector
6:43 Z-Index
7:40 Changing the Position based on the Selection
9:53 Animating our slider
10:21 Hiding the Radio Buttons

🤖 CODE

Рекомендации по теме
Комментарии
Автор

Hey! It's great video especially for me, 'cause I am currently working on my FYP, and I need this type of toggle button very very much. Excellent and just wonderful.

muhammadzubairshafique
Автор

I just recreated your toggle switch as a part of my portfolio project. So, good! Thank you~

tanercoder
Автор

you got me at first div /*subscribed! */ lol awesome video thank you! oh and feel free to use vscode :P

ben-cber