Better use of CSS pseudo classes