CSS Variables Tutorial
דרג סרטון זה
התחבר כדי לדרג
תיאור
🚨 IMPORTANT: Learn CSS Today Course: https://courses.webdevsimplified.com/learn-css-today?utm_medium=video-description-no-mention&utm_source=youtube&utm_campaign=css-variables One of the biggest problems with CSS for many years was the lack of variables. Pre-processors like SASS and LESS were used to solve this problem, but now CSS has its own variable system! In this video I will be breaking down exactly how CSS variables work. We will be covering their syntax, use cases, and how to use them in JavaScript. In the end of this video we will have a fully functioning, albeit ugly, website with theme swapping buttons. CSS Variables Article: https://blog.webdevsimplified.com/2020-02/css-custom-properties View The Code: https://codepen.io/WebDevSimplified/pen/wNyobw Twitter: https://twitter.com/DevSimplified GitHub: https://github.com/WebDevSimplified CodePen: https://codepen.io/WebDevSimplified #CSSVariables #CSS #WebDevelopment