CSS Variables / Custom Properties (full course)
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
⭐️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