Created
February 20, 2015 02:24
-
-
Save t0t/fb22e53d7c5aef85c3c3 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
$image-path: "../img/"; | |
$list: chia amaranto spiroulina camucamu canamo maca lucuma stevia quinoa alfalfa quinoa trigoverde algarroba cardomariano linodorado fresa coco gymtonic delifiber brainshake andeanprotein macuchino royalbreakfast; | |
@each $producto in $list { | |
.cpt-#{$producto} { | |
background-image: url(#{$image-path}bg-#{$producto}.svg); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.cpt-chia { | |
background-image: url(../img/bg-chia.svg); | |
} | |
.cpt-amaranto { | |
background-image: url(../img/bg-amaranto.svg); | |
} | |
.cpt-spiroulina { | |
background-image: url(../img/bg-spiroulina.svg); | |
} | |
.cpt-camucamu { | |
background-image: url(../img/bg-camucamu.svg); | |
} | |
.cpt-canamo { | |
background-image: url(../img/bg-canamo.svg); | |
} | |
.cpt-maca { | |
background-image: url(../img/bg-maca.svg); | |
} | |
.cpt-lucuma { | |
background-image: url(../img/bg-lucuma.svg); | |
} | |
.cpt-stevia { | |
background-image: url(../img/bg-stevia.svg); | |
} | |
.cpt-quinoa { | |
background-image: url(../img/bg-quinoa.svg); | |
} | |
.cpt-alfalfa { | |
background-image: url(../img/bg-alfalfa.svg); | |
} | |
.cpt-quinoa { | |
background-image: url(../img/bg-quinoa.svg); | |
} | |
.cpt-trigoverde { | |
background-image: url(../img/bg-trigoverde.svg); | |
} | |
.cpt-algarroba { | |
background-image: url(../img/bg-algarroba.svg); | |
} | |
.cpt-cardomariano { | |
background-image: url(../img/bg-cardomariano.svg); | |
} | |
.cpt-linodorado { | |
background-image: url(../img/bg-linodorado.svg); | |
} | |
.cpt-fresa { | |
background-image: url(../img/bg-fresa.svg); | |
} | |
.cpt-coco { | |
background-image: url(../img/bg-coco.svg); | |
} | |
.cpt-gymtonic { | |
background-image: url(../img/bg-gymtonic.svg); | |
} | |
.cpt-delifiber { | |
background-image: url(../img/bg-delifiber.svg); | |
} | |
.cpt-brainshake { | |
background-image: url(../img/bg-brainshake.svg); | |
} | |
.cpt-andeanprotein { | |
background-image: url(../img/bg-andeanprotein.svg); | |
} | |
.cpt-macuchino { | |
background-image: url(../img/bg-macuchino.svg); | |
} | |
.cpt-royalbreakfast { | |
background-image: url(../img/bg-royalbreakfast.svg); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment