Hacker News new | ask | show | jobs
by RKearney 5274 days ago
Why do people keep calling things "pure CSS" when they use JavaScript and HTML?
2 comments

It seems like a more accurate term for these demonstrations would be "imageless" rather than "pure CSS".
I think HTML obviously is allowed to call something "pure CSS," since an HTML document is required to even load CSS, and CSS rules can only apply to DOM elements. JavaScript, however, shouldn't be allowed.
You could do it with XML and XSLT.
XSLT is typically used to translate XML into HTML. Sure, you could use CSS to style XML, but I believe the point isn't to argue the semantics of the markup, only to say that some sort of markup is required in order to use CSS.
Okay. Let's just say "markup language."