There are different ways to declare and use CSS variables. Global and local variables refer to where a variable is defined and how it can be accessed within the stylesheet. Learn the difference between the two variable types and how you can use each one.