Colours With Sass Map

Paulund is full of premium tutorials and support to help with your development

Sign up to get full access to all tutorials.

Get full access for $5/mo

Login to your account

Sass Logo

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 . . . This content is restricted to subscribers