Sass FunctionsLesson 12Free preview
Sass Map
This lesson is part of SASS · All levels
Summary
A map is a key-valued data structure that allows for organized, dictionary-like access to data. Built-in map-get takes values based on the key, while map-merge and map-remove modify the map content. Maps are very useful for storing themes, color series, or breakpoint configurations.
Key points
- Map written with curly braces and comma dividers
- Map-get takes values based on the given key
- Map-merge combines two maps, map-remove removes the key
- Map-keys and map-values return the entire key or value
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.