2 ms·
Interestingly enough, a JavaScript syntax for stylesheets was originally proposed by Netscape back in the early days: http://www.w3.org/Submission/1996/1/WD-js
by ashearer 14y ago
Interestingly enough, a JavaScript syntax for stylesheets was originally proposed by Netscape back in the early days:
http://www.w3.org/Submission/1996/1/WD-jsss-960822 http://www.w3.org/Submission/1996/1/WD-jsss-960822
The declarative CSS syntax we know won out.
(Netscape's CSS implementation remained tied to JavaScript anyway, a detail that was normally hidden, except when a JavaScript error also killed the remaining CSS on the page.)