sass maps for responsive breakpoints
Post on 29-Jul-2015
356 Views
Preview:
TRANSCRIPT
- Key/Value data sets- Unique list of keys- Access to the keys and values- Ability to iterate through these values
- 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
top related