Colours With Sass Map
Here is a quick CSS snippet on how you can use Sass maps to create a colour list for your project.
Sass maps are a nice way of creating lists, you can do multiple things with lists you can either loop through all of them or you pick a specific element from the list. If you've used other programming languages before a Sass map is essential an array of key value pairs.
This gives us a nice way of having a collection of the different colours . . .
Subscribe To Newsletter
Get weekly updates to your email