Skip to main content
8 events
when toggle format what by license comment
Jan 2, 2017 at 9:47 history edited Alvaro CC BY-SA 3.0
added 13 characters in body
Jan 2, 2017 at 9:42 vote accept Jishnu V S
Jan 2, 2017 at 9:06 comment added BoltClock I agree. I do think that :first-of-type shouldn't even be considered since a ul can only have li as children (which means both pseudo-classes will always match the same element), and I just personally don't like changing the HTML to fit a CSS selector. But I removed my downvote.
Jan 2, 2017 at 9:02 comment added Alvaro You are right @BoltClock, it doesn't. There is no option to do so with class as far as I know. You could however reach the first blue with those other selectors I included in the answer.
Jan 2, 2017 at 8:57 history edited Alvaro CC BY-SA 3.0
added 903 characters in body
Jan 2, 2017 at 8:51 history edited Alvaro CC BY-SA 3.0
added 903 characters in body
Jan 2, 2017 at 8:45 comment added BoltClock Nope. :first-of-type doesn't look at the class either.
Jan 2, 2017 at 8:44 history answered Alvaro CC BY-SA 3.0