ambie Posted June 27, 2022 Share Posted June 27, 2022 Site URL: https://www.ambergchen.com/ I'm trying to add a drop shadow transition (ease) on hover for the images on my homepage. For whatever reason, it works on the images that are left-aligned, but not on the right side. Pics are attached for reference but you'll be able to see it in action on my site 🙂 Pass: WIP Thank you in advance! Below is my code for the image hover: .design-layout-overlap .image-inset {  transition-property: box-shadow  } .design-layout-overlap .image-inset:hover {   box-shadow: 0px 8px 12px #E0DDDC;  transition: .2s ease;  } Link to comment
tuanphan Posted June 30, 2022 Share Posted June 30, 2022 It looks like you fixed this? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
ambie Posted July 5, 2022 Author Share Posted July 5, 2022 On 6/30/2022 at 12:00 AM, tuanphan said: It looks like you fixed this? Not yet! The transition time is only reflected on left-aligned images, but not for right-aligned images. I updated transition time to 2 seconds to make it more obvious on my website. Thanks in advance! Link to comment
ambie Posted July 5, 2022 Author Share Posted July 5, 2022 1 minute ago, ambie said: Not yet! The transition time is only reflected on left-aligned images, but not for right-aligned images. I updated transition time to 2 seconds to make it more obvious on my website. Thanks in advance! Here is a screen recording to show the difference between hover transition times. Screen Recording 2022-07-05 at 2.10.20 PM.mov Link to comment
Solution tuanphan Posted July 7, 2022 Solution Share Posted July 7, 2022 Use this .design-layout-overlap .image-inset:hover { box-shadow: 0px 8px 12px #e0dddc; transition: 2s ease !important; } .design-layout-overlap .image-inset { box-shadow: none; transition: 2s ease !important; }  Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
ambie Posted July 20, 2022 Author Share Posted July 20, 2022 On 7/7/2022 at 1:03 AM, tuanphan said: Use this .design-layout-overlap .image-inset:hover { box-shadow: 0px 8px 12px #e0dddc; transition: 2s ease !important; } .design-layout-overlap .image-inset { box-shadow: none; transition: 2s ease !important; } Â This worked perfectly, thank you Tuan! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment