how to make an image pop up more images when your mouse hovers over it on html/css/javascript | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to make an image pop up more images when your mouse hovers over it on html/css/javascript

I'm very new to web development and have only created basic websites using primarily just html with little css and no javascript as of yet. One thing that i am trying to create is images that when your mouse hovers over reveals more features to click on such as more images or texts etc... but i don't want those texts to cover the image itself. Could somebody help me understand what fundamental steps or code i would need to take to achieve such a feature on my website?

17th Apr 2020, 10:00 PM
Arkan De Lomas
Arkan De Lomas - avatar
2 Answers
0
I didn't get it well, but if you want to make something happen when the mouse hover over the image then it's easy you can do whatever you want using CSS For Example: img:hover { /** :hover used to make changes on the style when the mouse hover on it **/ filter: brightness (70%); }
18th Apr 2020, 2:57 AM
Mohammed Alotaibi
Mohammed Alotaibi - avatar
0
Ah, thank you! I didn't know there was a hover feature in css
18th Apr 2020, 6:41 AM
Arkan De Lomas
Arkan De Lomas - avatar