User Tools

Site Tools


sasset:working_with_the_map_data_type

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

sasset:working_with_the_map_data_type [2016/04/02 14:57] (current)
leo created
Line 1: Line 1:
 +|<- [[Going through a list with @each]]|[[Next steps]] ->|
  
 +Associated Arrays : key/value
 +
 +<​code>​
 +$color-btns:​ (
 +  rouge: $red,
 +  vert: $green,
 +  bleu: $blue,
 +);
 +
 +@each $key, $value in $color-btns {
 +  .btn-#​{$key} {
 +  @extend %btn;
 +    background-color:​ $value;
 +  }
 +}
 +</​code>​
sasset/working_with_the_map_data_type.txt ยท Last modified: 2016/04/02 14:57 by leo