Custom Color Theme Switcher CSS

Publié le: 30 août 2022
sur la chaîne: Coding in Public
4,031
148

In this video, we’ll explore theming in CSS with css variables (i.e., custom properties). We’ll save the user’s preference to local storage as well, so the next time they visit your site from the same device, it'll remember their choice.

🔗 Key Links 🔗
Github: https://github.com/coding-in-public/c...

---------------------------------------

📹 Related Videos 📹
Building better button defaults:    • Creating a Modern Button with CSS  
Building better form defaults:    • Building Better Form Input Defaults  

---------------------------------------

⏲️ Timestamps ⏲️
0:00 Introduction
2:02 Setup with CSS Variables
13:09 Creating theme buttons
20:46 Adding JavaScript
25:34 Conclusion

---------------------------------------

🌐 Connect With Me 🌐
Website: https://codinginpublic.dev
Blog: https://chrispennington.blog
Twitter:   / cpenned  
Patreon:   / coding_in_public  


Sur cette page du site, vous pouvez voir la vidéo en ligne Custom Color Theme Switcher CSS durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Coding in Public 30 août 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 4,031 fois et il a aimé 148 téléspectateurs. Bon visionnage!