Комментарии:
Thank you!
ОтветитьThis is great, BUT it's not very responsive. The problem with "background-size: 100%" is that it performs more like "contain" rather than "cover", so on wider or narrower screens, if the aspect ratio does not match its container, you will end up with gaps either on the top or sides. Is there a solution to this? If only "background-size: calc(cover + 10%)" was recognized! 😄
ОтветитьWhy isn't this working for me? When I put the css in for desktop, everything is fine. But when I switch to "hover," and change the css, it changes the "desktop" css as well.
ОтветитьDamn, this is sweet. Thanks to the Custom CSS I was able to align the ackgound perfectly to the position I want it to have (background-position-y or -x). Love the simplicity and complex possibilities at the same time!!!
ОтветитьWhen I try to add this code, somehow the "cover" setting won't apply automatically anymore. The image shrinks down to its actual size and orientation and it is not more filling out the whole background. What could I do here?
ОтветитьGreat tip. I wonder though, how can you apply the same effect on load, not hoover? I want the transition to happen automatically when the image enters the viewport. Please help!
ОтветитьThank you!
ОтветитьAwesome video thank you! Would this same thing work with the image Divi gallery as well just out of curiosity?
ОтветитьHello, not work for me
Ответитьthis is great! is there any way to ease out smoothly? My BG images just clunk back to normal size when I stop hovering…
Ответитьbackground-size: 100%;
transition: all 0.5s ease;
Thanks, it works perfect! But i'm trying to figure out how to zoom on a certain part of the background (bottom for instance), is this possible?
ОтветитьThank you very much for this video. and if i want to zoom with Parallaxe ??? how to do?
ОтветитьHi! How to make the animation smooth? without that shivering movement?
ОтветитьIm surprised more people had not viewed this vid. Thanks so much.
ОтветитьThat saved my life. Cheers Buddy!
ОтветитьThanks!
How I like short and constructive tutorials.
Thanks for the tutorial. can the code be used on the Divi gallery module separately for each image?
tried using the Divi hover option, but that scales the entire gallery at once.
thanks.
So nice, thank you!
Ответитьthanks for this! How do you prevent, on hover, the images from transitioning outside the row? When I mouse-over, the effect works, but the image size also gets larger
Ответить