Back to Browse

21. Variables in CSS

110 views
Mar 2, 2024
19:59

CSS variables, also known as custom properties, allow developers to define reusable values in CSS that can be used across a stylesheet. They are declared using the -- prefix and can be assigned dynamic values, facilitating easier theming, maintenance, and consistency in web design by providing a central point for managing and updating values. Variables are referenced using the var() function, enabling the creation of more flexible and maintainable stylesheets. Topics: CSS Variables, Color Schemes Additional Reading: https://www.w3schools.com/css/css3_variables.asp https://coolors.co/ Our Website: https://skyfish.dev This 2024 Web Development course will take you from knowing nothing about Web Development all the way to advanced Full-Stack Development. In the first part of this course we will cover HTML, CSS, and JavaScript. These videos are provided as supplemental material for an in-person class but they are available for anyone else who wants to learn as well. https://www.youtube.com/playlist?list=PLh_eiHw2h9hmjl3cK6dt1BpUcMB7YyK_d

Download

0 formats

No download links available.

21. Variables in CSS | NatokHD