Skip to content

Instantly share code, notes, and snippets.

@alexnodejs
Created May 15, 2013 10:20
Show Gist options
  • Save alexnodejs/5582991 to your computer and use it in GitHub Desktop.
Save alexnodejs/5582991 to your computer and use it in GitHub Desktop.
// Your code
&:last-child {
td {
border-bottom: 0;
}
}
&.isSelected {
td {
background-color: #f2f8fd;
}
}
// Your funcy code
&:last-child td {
border-bottom: 0;
}
&.isSelected td {
background-color: #f2f8fd;
}
@xjamundx
Copy link

These are super slow selectors and the 2nd block doesn't make any sense.

@alexnodejs
Copy link
Author

Yes it's slow but if we use it still why it should be so long? syntax sugar says

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment