Forum Moderators: phranque
I think what you may be reading about are things that can be accomplished with CSS without the need for Javascript, where in the past Javascript was commonly used, for example image swaps in navigation and mouseovers and that sort of thing.
In those cases CSS is more efficient. But the number of things that can done by either, ie where you can choose which to use, is tiny, and CSS is certainly not a replacement for Javascript in any sense at all.
Avoiding what might be called 'gratuitous' Javascript is always a good idea, especially since quite a surprinsing number of people seem to browse with Javascript disabled. But getting obsessive about avoiding it isn't necessarily the way to go - use whatever works best in any situation, and sometimes, that is Javascript.