What I have learned before is that if you can do something in CSS, then go with that approach/solution.