👨💻
👨💻
👨💻
👨💻
TIL - Today I Learned
Search…
Introduction
Computer Science
Algorithms
Data Structures
Design Patterns
Other
Software Engineering
Requirements engineering
Personal Development
Fixed vs Growth Mindset
TIL - Today I Learned
TypeScript
JavaScript
HTML
SASS
Maps & @each directive
How to access Maps
Git
Developer Tools
ugross.dev
Powered By
GitBook
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:
$breakpoints
:
(
small
:
767px
,
medium
:
992px
,
large
:
1200px
);
@media
(
min-width
:
#
{
map-get
(
$breakpoints
,
"medium"
)})
{
// ...
}
Read More
Sass Maps
Sass Interpolation
Sass
map-get
function
Previous
Maps & @each directive
Next - TIL - Today I Learned
Git
Last modified
11mo ago
Copy link
On this page
Description
Example:
Read More