Why is this better than doing it in CSS?