User Tools

Site Tools


sasset:working_with_the_map_data_type
no way to compare when less than two revisions

Differences

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


sasset:working_with_the_map_data_type [2016/04/02 14:57] (current) – created leo
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