Skip to content

Instantly share code, notes, and snippets.

@alexnodejs
Created May 15, 2013 10:20
Show Gist options
  • Select an option

  • Save alexnodejs/5582991 to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown

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

@alexnodejs

Copy link
Copy Markdown
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