Lurker News

Comments (94) 40 threads

Earlier comments
Negative1#
I love this -- Nicely done!

Does anyone know; is the smoothing guaranteed to be consistent across multiple browsers (I'm guessing it's done on GPU when possible with a software fallback and is probably just a bilinear filter)?

accordionclown#
awesome.

i often shoot pictures of the sky, a forest canopy, or other natural phenomenon, to get this kind of gradient. but this is even better, in many ways.
one suggestion is to feather the edges into each other, a la the "seamless" background patterns of yesteryear, to soften them if/when the background repeats, because background-size:cover doesn't handle very long elements, like "body", without having the background-image repeat.
good work.
-bowerbird

euph0ria1 reply#
I just tried this adding it to a page. When I drag the window so the width is not very large compared to the height the image clips/repeats. Is that the intended behavior (Chrome)? Added the CSS directly to the body of the page. Example here: https://jsfiddle.net/r1ueprrz/
kowdermeister1 reply#
Not really, that's not how it's supposed to work, seems like a bug, but a 'min-height: 100%' solves the problem.
euph0ria1 reply#
Tried that in the fiddle but didn't make a difference?
euph0ria#
Put it on html and body and now it works. Thanks!
pteredactyl#
In this context "designers" are more accurately labelled as "graphic designers." Thank you.

Load more comments