JohnC67 Posted October 9 Posted October 9 Site URL: https://www.expressdraftingllc.com/home/contact On the contact page specifically, I have those two images on there in which I'd like the text and opacity to only show whilst hovering over them. This is my current code line; @media only screen and (min-width: 640px){ #block-yui_3_17_2_1_1728344822415_75558, #block-989e4203b20da71b4c0f, { opacity: 0 !important; transition: opacity 0.5s; } #block-yui_3_17_2_1_1728344822415_75558:hover, #block-989e4203b20da71b4c0f:hover, { opacity: 1 !important; } } Any help is much appreciated!
tuanphan Posted October 9 Posted October 9 Try remove comma 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!)
creedon Posted October 9 Posted October 9 The first thing I see is syntax errors. You may find the W3C validator of use. https://jigsaw.w3.org/css-validator/#validate_by_input Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment