Skip to content

smaranh/Color-Theme-Switcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Color Picker

Demo

What I learned

  1. data-background - specifies the default background color for anchor tags https://webdesign.tutsplus.com/tutorials/all-you-need-to-know-about-the-html5-data-attribute--webdesign-9642

  2. will-change - Tells the browser how the element will change https://developer.mozilla.org/en-US/docs/Web/CSS/will-change

  3. element.classList - representing the contents of the element's class attribute. https://developer.mozilla.org/en-US/docs/Web/API/Element/classList

Author

Smaran Harihar

Acknowledgments

Inspiration, code snippets, etc.