frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

CSS-Native Parallax Effect

https://dan-webnotes.com/posts/2026-06-02-css-native-parallax-effect/
28•dandep•1h ago

Comments

baliex•47m ago
That sounds interesting but it would be a whole lot more interesting if the page was itself an example of said effect!
phelm•45m ago
A demo https://codepen.io/editor/phelm/pen/019e87f5-dfec-7372-9849-...
frereubu•44m ago
There's me scrolling up and down and thinking "hey, it's not working!" But it's behind a flag on Firefox: https://caniuse.com/?search=view-timeline-name
anssip•27m ago
Noticed the same thing. In Mac Safari it works without setting any flags.
werdnapk•12m ago
It's been behind a flag for ages. Maybe because of performance issues?
WithinReason•9m ago
tried 4 browsers, didn't work in any of them
account42•19m ago
What an age where we need a pile of javascript as well as a bot check to demo a simple CSS trick.
mpeg•39m ago
How does this compare to the classic css-native parallax effect? Before the scroll timeline APIs you'd use the "perspective" css property to create a container where the z plane is n pixels away from the screen, and then position each layer within it at a different z distance using transform: translateZ

That method is GPU accelerated too, so it is performant compared to some js solutions, and has worked well in every browser for around a decade

I like the idea of the scroll-timeline though, just keen to understand what the advantage is for this

iainmerrick•17m ago
I was wondering the same thing. That translateZ is a bit fiddly to get right, so I could believe this is a bit easier to use, maybe? And presumably this could be used for other properties besides position, like colors, opacity or blurs.
thomasikzelf•11m ago
You can make some really cool stuff with css scroll animations. I used SVG paths with a scroll animated dash offset to draw an image while scrolling. Zero javascript, it feels so smooth. https://thomaswelter.nl (the background)
rohitsriram•10m ago
Love the one-variable design where scale and translate stay in sync automatically, just wish Firefox would get off the flag already.
duskdozer•7m ago
In a world where it's increasingly overlooked, I'm glad the author mentions disabling it respecting user settings. I do think it should be reversed and only enabled with the `@media (prefers-reduced-motion: no-preference)`, but that is the opinion of someone who gets negative value from animations and is bemused by how much dev and compute time is spent on them.

MCP is definitely not dead

https://sderosiaux.substack.com/p/no-mcp-is-definitely-not-dead-the
1•chtefi•2m ago•1 comments

Selective divergence between Grokipedia and Wikipedia article

https://www.pnas.org/doi/10.1073/pnas.2603294123
1•Anon84•3m ago•0 comments

BSD flags are incompatible with iCloud Drive

https://eclecticlight.co/2026/06/02/bsd-flags-are-incompatible-with-icloud-drive/
1•ingve•5m ago•0 comments

JsSIP vs. Sip.js vs. Browser-Phone: Choosing an Open-Source WebRTC Sip Stack

https://www.browser-phone.org/2026/06/02/jssip-vs-sipjs-vs-browser-phone/
1•Dappersiperb•6m ago•1 comments

A reflective AI that refuses to give you answers

https://web-production-07a822.up.railway.app/
1•johnhyder•8m ago•0 comments

Show HN: Rootprint – Self-hosted log search built with Svelte, Hono and Quickwit

https://github.com/rootprint/rootprint
1•badfatcat•9m ago•1 comments

Free browser based QR code generator with custom colors/logo upload

https://takeonanything.com/qr-code-generator/
1•minviex•10m ago•0 comments

Swift Cross Platform

https://www.cocoanetics.com/2026/06/swift-cross-platform/
1•ingve•11m ago•0 comments

The Postmodern Build System

https://jade.fyi/blog/the-postmodern-build-system/
1•birdculture•12m ago•0 comments

LPeg – Parsing Expression Grammars for Lua

https://www.inf.puc-rio.br/~roberto/lpeg/
1•tosh•14m ago•0 comments

Device Bound Session Credentials

https://scotthelme.co.uk/device-bound-session-credentials-making-stolen-cookies-useless/
1•moebrowne•14m ago•0 comments

Fibr.ai is hiring Product Engineers

1•mrafi2•15m ago•0 comments

The commons were never theory – It was always practice

https://hamishcampbell.com/the-commons-were-never-a-theory-it-was-always-practice/
1•BrunoBernardino•15m ago•0 comments

Fredy – Self-hosted real estate scraper for Germany, just hit 1k stars

https://github.com/orangecoding/fredy
1•orangecoding•15m ago•1 comments

A collection of small, low effort tools

https://delphi.tools/
1•ewf•15m ago•0 comments

Chinese Military Sought Nvidia Chips for Years, Report Says

https://www.nytimes.com/2026/06/01/business/economy/china-military-nvidia-chips.html
1•giuliomagnifico•17m ago•0 comments

Under Notre Dame, a 'dig of the century' unearths 1,700 years of history

https://apnews.com/article/notre-dame-dig-treasures-paris-archaeology-roman-dae41f792c1402faf32a8...
1•cobbzilla•18m ago•0 comments

Show HN: I built auto-captions with face-tracking reframe for vertical video

https://captionly.dev
1•captionly•19m ago•0 comments

Challenge and Opportunity – David Bushell

https://dbushell.com/2026/06/01/challenge-and-opportunity/
1•BrunoBernardino•22m ago•0 comments

Pegular Expressions

https://janet.guide/pegular-expressions/
1•tosh•24m ago•0 comments

Poor supervision is pushing young researchers out of academia

https://www.nature.com/articles/d41586-026-01693-4
2•EvgeniyZh•25m ago•1 comments

Why is AI use decried when it appears to have been used without attribution?

2•bookofjoe•26m ago•0 comments

Show HN: Numstore – a single file ACID database for NumPy arrays

https://github.com/lincketheo/Numstore/
1•lincketheo•27m ago•0 comments

Weeping Muses

https://spareatalent.hcommons.org/2026/06/01/weeping-muses-moving-away-from-google/
1•jruohonen•28m ago•0 comments

A 2026 GPU Review for AI Inference. Based on Online Soures

https://old.reddit.com/r/AIProgrammingHardware/comments/1tumela/comprehensive_2026_gpu_review_for...
2•javaeeeee•30m ago•1 comments

The way we treat pigs is a sin

https://www.noahpinion.blog/p/the-way-we-treat-pigs-is-a-sin
12•throw0101a•30m ago•0 comments

Spikes in LLMs Are Bias Vectors: Spike-Free Quantization

https://arxiv.org/abs/2606.02288
2•sbulaev•31m ago•0 comments

Forget Attention: Importance-Aware Attention Is All You Need

https://arxiv.org/abs/2606.02332
2•sbulaev•32m ago•0 comments

Save the balti Can Birmingham's best dish come back from the brink?

https://www.theguardian.com/food/2026/jun/02/balti-birmingham-best-dish-back-from-brink
3•YeGoblynQueenne•34m ago•0 comments

Idea for New Social Media

1•thisIsNotRandom•35m ago•1 comments