Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

As an aside but still relevant question, why is CSS preferred over JS when these days it can do lots of things like JavaScript and probably uses similar resources.


CSS and JavaScript specialize in two very different areas and are commonly used in tandem


You can do layouts with javascript?

Couldn't imagine ever wanting skip grid and flexbox for whatever has been concocted up for JS.


multi-window interfaces in the browser... simulating a desktop, or other user navigable environment such as in a game or simulation, where a user my want to customize their environment beyond a grid snap.


The issue then becomes how do you make it accessible to screen readers? It's not impossible, just very tedious and requires cross browser and cross-device testing


While I understand the concern... Not everything ever made needs to be fully accessible to everyone.

That said, there are already aria labels for UI contexts such as modal windows. Desktop OSes are already multi-modal.


1. This isn’t CSS. It’s a declarative JS drawing framework with CSS flavor to the syntax

2. Without actual CSS JavaScript wouldn’t be of much use for drawing much of anything unless you were just going to use canvasses and forego the DOM entirely


I agree. This seems like it would make more sense as a canvas library unless there's a use case I'm not understanding.


If I understand this, it’s all vector space. So it avoids one of the most irritating issues with working with canvas. I love not having to think about scale or resolution or aliasing.


I think there is value in making it a declarative model




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: