Answers for "map. sass"

CSS
1

scss maps´

// define one
$font-weights: ("regular": 400, "medium": 500, "bold": 700)

// get value
@debug map.get($font-weights, "medium")  // 500
@debug map.get($font-weights, "extra-bold")  // null
Posted by: Guest on September-21-2020

Browse Popular Code Answers by Language