selector "AND" syntax

23 views
Skip to first unread message

Daniel Hai

unread,
Nov 26, 2012, 11:38:59 AM11/26/12
to xc...@googlegroups.com
Does anybody know how to the selector AND syntax?

.icon.up {
  ...
}

doing this: 

.icon {
  .up { ... }
}

results in:

.icon .up

Daniel Hai

unread,
Nov 26, 2012, 11:48:28 AM11/26/12
to xc...@googlegroups.com
nevermind i found it.  sorry!

.icon {
  self.up { ... }
}

Also, it would probably make sense for the default sort to be based on the line # in the css correct?

Anton Pawlik

unread,
Nov 26, 2012, 11:48:56 AM11/26/12
to xc...@googlegroups.com
hi
.icon {
self.up {
xxx
Reply all
Reply to author
Forward
0 new messages