@eloy @slightlyoff @mahryekuh @bobmonsour @zachleat @phae @owa Exactly. Use JS only for when CSS isn't able to do what you are trying to do.
Corollary: If CSS isn't doing something you're trying to do, you should think long and hard about why you're doing it, and if it's really a good idea...