How to access Maps
ℹ️ use "map-get($map, $key)' to get value from map.

Description

To access a values from SASS Map use map-get($map, $key) function. This function returns the value associated with the given key.

Example:

1
$breakpoints: (
2
small: 767px,
3
medium: 992px,
4
large: 1200px
5
);
6
​
7
​
8
@media (min-width: #{map-get($breakpoints, "medium")}) {
9
// ...
10
}
Copied!

Read More