4 ms·
Someone posted another way to do this the other day: http://matthamm.com/box-shadow-curl.html http://matthamm.com/box-shadow-curl.html (http://news.ycombinator.
by nborgo 16y ago
Someone posted another way to do this the other day: http://matthamm.com/box-shadow-curl.html http://matthamm.com/box-shadow-curl.html (http://news.ycombinator.com/item?id=1988977 http://news.ycombinator.com/item?id=1988977)
It looks much nicer. Plus, calling the curl effect "realistic" is quite the exaggeration.
- some1else 16y agoGreat one, quite decent.
- akamaka 16y agoPlease don't use this version of the effect. I've seen in on a couple of websites, and it seriously pains me to see it. Because the "page" doesn't actually "curl", it looks more like background has been pushed down in places.
- sudont 16y agoI’m guessing they used it on a large element. Something like this is definitely meant for a sub-300px element, where the eye would get tricked into thinking there was a page curl.