+ All Categories
Home > Documents > Sass maps for responsive breakpoints

Sass maps for responsive breakpoints

Date post: 29-Jul-2015
Category:
Upload: lourdes-montano
View: 352 times
Download: 2 times
Share this document with a friend
Popular Tags:
21
Transcript

- Key/Value data sets- Unique list of keys- Access to the keys and values- Ability to iterate through these values

- Map content- @mixin- @warn for debugging- @mixin call

- map-deep-get($map, $keys...) //fetchs deeply nested values

- map-has-keys($map, $keys...) //tests if has several keys

- map-merge($map1, $map2...) //merges 2 maps into a new one

- Great for breakpoint organization

- Helps to avoid code repetition (DRY)

- Ability to debug

- Lots of map functions to use, not only for responsive


Recommended