I don't get it. You take a solution (pure CSS) that does not require JavaScript to run, so that users that turn off JavaScript for security or other reasons can see the page styled as intended, and you convert it to something that will require JavaScript to be enabled so that it can be displayed properly.