Use an elegant selector instead of a condition