Skip to content

Instantly share code, notes, and snippets.

@JamieDixon
Created August 22, 2014 08:41
Show Gist options
  • Save JamieDixon/7446f13aded4fe02a64b to your computer and use it in GitHub Desktop.
Save JamieDixon/7446f13aded4fe02a64b 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); }
}
@include respond-to(tablet)
{
.taskEmotion ul li
{
&:nth-of-type(1) { @include tablet-question-pages-sprite(sadface-current); }
&:nth-of-type(2) { @include tablet-question-pages-sprite(alrightface-current); }
&:nth-of-type(3) { @include tablet-question-pages-sprite(okface-current); }
&:nth-of-type(4) { @include tablet-question-pages-sprite(happyface-current); }
&:nth-of-type(5) { @include tablet-question-pages-sprite(brilliantface-current); }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment