rishisamuelpatel Posted September 10, 2021 Share Posted September 10, 2021 Site URL: http://arcprojects.squarespace.com/about Hello, Password is "arc" I've added css and hover states for images. The initial filter works but the :hover: unset; isn't. Here is my code [data-section-id="611eecf680daaa03e8f89f8a"] img{ filter: grayscale(100%) } [data-section-id="611eecf680daaa03e8f89f8a"] img:hover{ filter: unset !important; } Thanks Link to comment
tuanphan Posted September 12, 2021 Share Posted September 12, 2021 Use this code [data-section-id="611eecf680daaa03e8f89f8a"] img{ filter: grayscale(100%); } [data-section-id="611eecf680daaa03e8f89f8a"] .image-block:hover img { filter: grayscale(0); } 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.