CSS : using attribute selectors to style element