Show HN: Real-time lights and shadows in CSS 3D, no runtime JavaScript

k-adam.github.io1 min read

The author introduces a technique for rendering real-time lights and shadows in CSS 3D without running JavaScript. By passing transform coordinates down a group tree using custom properties and calc(), the browser dynamically computes brightness and exact falloff while keeping text selectable. Open article →