Summary
Keywords
Full Transcript
CSS Custom Properties (aka Variables) bring the power of variables to CSS, which results in less repetition, better readability and more flexibility. Originally posted on Scrimba: https://scrimba.com/g/gcssvariables When viewing the Scrimba version of this course, you can pause the video and start directly editing the code from the video. Then you can see changes in real-time. View the code & take the course on Scrimba here: https://scrimba.com/g/gcssvariables ❤️ Try interactive CSS courses we love, right in your browser: https://scrimba.com/freeCodeCamp-CSS (Made possible by a grant from our friends at Scrimba) ⭐️Contents⭐️ ⌨️ Why learn CSS Variables (0:00) ⌨️ How to create your first CSS Variable (3:12) ⌨️ Overriding CSS Variables (8:15) ⌨️ Local variables (11:00) ⌨️ Creating Themes with CSS Variables (15:31) ⌨️ Changing variables with JavaScript (17:21) ⌨️ Responsiveness and CSS Variables (21:13) ⌨️ Inheritance (26:12) - Learn to code for free and get a developer job: https://www.freecodecamp.com Read hundreds of articles on programming: https://medium.freecodecamp.com
