Hacker News new | ask | show | jobs
by tavoe 4482 days ago
I'm not sure why, but the fellow you're replying to doesn't like javascript.

You plan to solve it by compiling to css beforehand.

What if I told you I like to remove all custom css from my page. Do you have any recourse?

2 comments

I like JavaScript. I do most of my browsing on a browser with JS enabled. I only browse with JS off when I think the sites I'm about to visit are sketchy.

However, I also like saving resources and separating concerns. We have CSS to make pages look good (or at least half decent). We can make them look even better with JS, and GSS in a later version may very well do that: compile a stylesheet that does the basic layout/typography/effects and then patch what CSS cannot do with JS.

If I decide to disable CSS, I should still be able to see the HTML, and if I disable JS, I should still be able to see the content with most of the styling, except dynamic content and anything that CSS can't do.

I'll be watching GSS, a precompiled solution would be really useful.

Web without CSS and JavaScript would be a quite boring place.

But hey, at least with GSS there is no need to rearrange your content in weird ways to accommodate to CSS layouts. So what you'd get is just the plain, semantic HTML.