You have one div tag. What can you do with it? One div. Many possibilities
github.com
github.com
I find that we developers are so used to pandering to the lowest common denominator of supported browsers (a holdover from the IE6 days I suppose?), that we forget that there is a lot of really cool CSS we can use in all sensible modern browsers today.
But JavaScript can do a lot more, even if you disallow it to make HTTP requests; it has access to all of the modern APIs included in the browser. CSS on the other hand is still mostly a declarative language that does not allow for much dynamic cleverness.