Hacker News new | ask | show | jobs
by dag11 37 days ago
You can achieve that with a background-image, because you can stack multiple gradients.

Since this problem bothers me every time I see it on the web, I put together a quick example:

https://jsfiddle.net/ng7hmuxd

1 comments

Now you need to publish an NPM package with this. Or you know what, I'll do it—and take credit—muahah! Agent, steal this guy's code!