frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

You no longer need JavaScript: an overview of what makes modern CSS so awesome

https://lyra.horse/blog/2025/08/you-dont-need-js/
43•todsacerdoti•2h ago

Comments

paulddraper•1h ago
> Yes, the syntax isn’t the prettiest, but is it really that hard?

Explain float: clear?

Does that have anything to do with display: flow-root?

And white-space is not actually whitespace?

And when does vertical-align work vs not?

---

^ That is all CSS (and not particularly edgy CSS, except for flow-root).

So....yes, CSS is really that hard. Unless you use the subset of CSS that you have decided to learn + use. Not unlike C++.

rebane2001•1h ago
The sentence you quoted refers to the 'centering a div' example, not CSS as a whole.
whytaka•43m ago
I haven't used float in at least half a decade. CSS is easy.
JohnFen•32m ago
I suspect, as with programming languages, some people think in a way that makes it easy for them and others think in a way that makes it hard.

Personally -- and I'm no web dev, so I probably don't count -- I think CSS is hard (maybe more irritating than hard, but in any case I wouldn't call it easy). In large part because the syntax is ugly, but also because it just doesn't "mesh" with me. If I'm reading it or writing it, I always feel like I'm having to decode it. But I can easily and happily work with some programming languages that most devs would cross the street to avoid.

Maybe that's also why some people are attracted to being web devs and others aren't?

As a user, nothing would thrill me more than if web pages just stopped using JS, though, so I am very happy that there is a feasible alternative to doing that that web devs could enjoy!

user3939382•37m ago
Who would have thought UI layout and rich formatting would be the hard problem that destroyed personal computing.
lemonwaterlime•29m ago
Modern CSS is indeed great. I'm using modern CSS, htmx, and Haskell to develop apps and am loving it.
keeganpoppen•21m ago
i will say that though i am predisposed to appreciate and agree with an article like this, any sort of value proposition around "some users don't want javascript" just doesn't... hit for me. and, mind you: i am a card-carrying arch user and have spent more time messing with browser scripting and web crawling, and am more of a True Believer than most. it's just such a niche user preference that i think it should largely be simply ignored. yes, i would love the world to be better for the "noscript" universe, no, i don't think that any individual "grassroots" effort should stake itself on "no javascript" being any part of its utility. i think there are a million other reasons why CSS should win out that are more compelling than an appeal to what feels, extremely ironically, like a callback to the "but 10% of your users use IE6" days... all in all, yes: this is somewhat of a minor point wrt. to the article (which btw i think is great), but i am just calling the "trend", such as it is / has been, for what (i think) it is.
jauntywundrkind•1m ago
I agree; I don't find the noscript-ians to be useful or worth targeting.

At the same time, I want to emphasize more strongly the flip side that I think you don't at but don't go much I to: I do find that writing less code & using the platform is enormously valuable! Doing less & letting the browser do the thing is a very nice win.

wpollock•7m ago
How can one learn modern CSS and is there an online reference that is up to date?

From the 'Banter Bill' to Bias Hotlines: The Alarming Rise of Snitch Networks

https://thedailyeconomy.org/article/the-dangerous-rise-of-snitch-networks/
1•dmitrygr•1m ago•0 comments

The latest Covid vaccines come with restrictions

https://www.npr.org/sections/shots-health-news/2025/08/27/nx-s1-5515503/fda-covid-vaccines-restri...
1•metabagel•1m ago•1 comments

The big idea: Turn lobbying into a high-stakes financial market

https://nodumbideas.com/p/the-big-idea-decentralized-lobbying
1•hhs•1m ago•0 comments

Mainframe upgrade done with wire cutters (2015)

https://alt.folklore.computers.narkive.com/nZagiUHj/mainframe-upgrade-done-with-wire-cutters
1•WorldPeas•2m ago•0 comments

Python: The Documentary

https://lwn.net/Articles/1035537/
1•chmaynard•6m ago•0 comments

Show HN: DeepShot – an open-source NBA predictor with ML, EWMA, and live UI

https://github.com/saccofrancesco/deepshot
1•f_sacco•7m ago•0 comments

ExxonMobil Global Outlook: Our view to 2050

https://corporate.exxonmobil.com/sustainability-and-reports/global-outlook
1•mxschumacher•9m ago•0 comments

oLLM – LLM Inference for large-context tasks on consumer GPUs

https://github.com/Mega4alik/ollm
2•anuarsh•13m ago•0 comments

Should We Anthropomorphize LLMs?

https://aethermug.com/posts/there-is-thinking-and-there-is-thinking-and-there-is-thinking
1•mrcgnc•22m ago•0 comments

Prompt Engineering for Grok Code Fast 1

https://docs.x.ai/docs/guides/grok-code-prompt-engineering
1•empressplay•22m ago•0 comments

All Revenue Is Not Created Equal (2011)

https://abovethecrowd.com/2011/05/24/all-revenue-is-not-created-equal-the-keys-to-the-10x-revenue...
1•lispybanana•22m ago•0 comments

Ask HN: How much better can the LLMs become assuming no AGI

1•yalogin•22m ago•0 comments

The A.I. Talent Wars

https://www.nytimes.com/2025/08/25/podcasts/the-daily/ai-salaries-tech-silicon-valley.html
1•doener•24m ago•0 comments

Garmin Blaze Equine Wellness System

https://www.garmin.com/en-US/p/1277934/
1•carabiner•26m ago•0 comments

RSS Is Awesome

https://evanverma.com/rss-is-awesome
15•edverma2•29m ago•0 comments

Why HyperCard Had to Die (2011)

https://www.loper-os.org/?p=568
4•mgrayson•31m ago•2 comments

Hygiene Hypothesis

https://en.wikipedia.org/wiki/Hygiene_hypothesis
2•Jimmc414•35m ago•0 comments

The ABC Programming Language

https://homepages.cwi.nl/~steven/abc/
2•TheFreim•35m ago•0 comments

The Electro-Industrial Stack Will Move the World

https://a16z.com/the-electro-industrial-stack-will-move-the-world/
2•lemonberry•40m ago•0 comments

US withdraws from UN human rights report

https://www.reuters.com/world/europe/us-withdraws-key-un-human-rights-report-draws-criticism-righ...
5•geox•40m ago•0 comments

I've always wanted to be an open-source maintainer- now I regret it

https://joaomagfreitas.link/for-years-ive-always-wanted-to-be-an-open-source-maintainer/
3•freitzzz•42m ago•0 comments

Show HN: NamesMixer – brandable, available domain ideas in seconds

2•Names_Mixer•43m ago•1 comments

Show HN: A new interface for doing research fast with an LLM

https://www.proread.ai/
2•kanodiaashu•44m ago•0 comments

Why Intel investors have embraced an interventionist White House

https://www.ft.com/content/255a841a-0bf6-4e02-8735-bf8944f2522e
2•alephnerd•45m ago•0 comments

Expressions Are Coming to Pandas

https://labs.quansight.org/blog/pandas_expressions
3•TheAlchemist•59m ago•0 comments

OTC products evaluated for depressive symptoms

https://www.frontiersin.org/journals/pharmacology/articles/10.3389/fphar.2025.1609605/full
2•wjb3•59m ago•0 comments

Effective cerebellar neuroprosthetic control after stroke

https://www.cell.com/cell-reports/fulltext/S2211-1247(25)00801-0?_returnURL=https%3A%2F%2Flinking...
2•PaulHoule•1h ago•0 comments

Porton's Lumo AI Chat releases v1.1

https://proton.me/blog/lumo-1-1
3•moelf•1h ago•0 comments

Every Industry Is an Overcrowded Airport Lounge Now

https://quoththeraven.substack.com/p/every-industry-is-an-overcrowded
3•walterbell•1h ago•0 comments

ChatGPT and ADHD

https://blueteaming.blogspot.com/2025/08/chatgpt-and-adhd.html
2•glassrass•1h ago•0 comments