Hacker News new | comments | show | ask | jobs | submit login

It doesn't seem to work when you switch the order of the css selectors.

Both selectors have the same specificity, so the last one is applied. Add another class and the order won't matter.

Confused me for a second, but yeah your right.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact