Skip to content

Instantly share code, notes, and snippets.

@JamieDixon
Created August 22, 2014 09:02
Show Gist options
  • Save JamieDixon/60e1468e44f038846f68 to your computer and use it in GitHub Desktop.
Save JamieDixon/60e1468e44f038846f68 to your computer and use it in GitHub Desktop.
.taskEmotion ul li
{
&:nth-of-type(1) { @include question-pages-sprite(sadface-current); }
&:nth-of-type(2) { @include question-pages-sprite(alrightface-current); }
&:nth-of-type(3) { @include question-pages-sprite(okface-current); }
&:nth-of-type(4) { @include question-pages-sprite(happyface-current); }
&:nth-of-type(5) { @include question-pages-sprite(brilliantface-current); }
}
@media screen and (min-width: 640px) {
@import "standard-res/question-pages-640/*.png";
.taskEmotion ul li
{
&:nth-of-type(1) { @include question-pages-640-sprite(sadface-current); }
&:nth-of-type(2) { @include question-pages-640-sprite(alrightface-current); }
&:nth-of-type(3) { @include question-pages-640-sprite(okface-current); }
&:nth-of-type(4) { @include question-pages-640-sprite(happyface-current); }
&:nth-of-type(5) { @include question-pages-640-sprite(brilliantface-current); }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment