際際滷

際際滷Share a Scribd company logo
Sass maps for responsive breakpoints
Sass maps for responsive breakpoints
Sass maps for responsive breakpoints
Sass maps for responsive breakpoints
Sass maps for responsive breakpoints
Sass maps for responsive breakpoints
Sass maps for responsive breakpoints
- Key/Value data sets
- Unique list of keys
- Access to the keys and values
- Ability to iterate through these values
Sass maps for responsive breakpoints
Sass maps for responsive breakpoints
Sass maps for responsive breakpoints
- Map content
- @mixin
- @warn for debugging
- @mixin call
Sass maps for responsive breakpoints
Sass maps for responsive breakpoints
Sass maps for responsive breakpoints
Sass maps for responsive breakpoints
Sass maps for responsive breakpoints
Sass maps for responsive breakpoints
- 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
Sass maps for responsive breakpoints

More Related Content

Sass maps for responsive breakpoints

  • 8. - Key/Value data sets - Unique list of keys - Access to the keys and values - Ability to iterate through these values
  • 12. - Map content - @mixin - @warn for debugging - @mixin call
  • 19. - 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
  • 20. - Great for breakpoint organization - Helps to avoid code repetition (DRY) - Ability to debug - Lots of map functions to use, not only for responsive