mardi 21 avril 2020

How to remove some value of condition in scss?

I have a condition in scss, but I want to remove my value, how can I remove that value in scss? I put some code in bellow and also with image too

$color-sp: color-sp;
$width: 100%;

@for $i from 1 through 12 {
   @for $j from 12 through 1 {
      .#{$color-sp}-#{$i} {
          width: $j;
      }
  }
}

I put some link to know my result :

https://www.sassmeister.com/gist/3d049565b0be28429f7d3803baf1bcb1

Aucun commentaire:

Enregistrer un commentaire