@HeidelolSubmitted almost 3 years ago
how can i get the active state on the img? and what can i improve?
how can i get the active state on the img? and what can i improve?
Hi, first of all good job. About the active state you could try to set a <div> with background-image instead of a <img> and inside of it another <div class="active-state"> with background-image that will be activated with .active-state:hover in your css. I hope that it can help, you can also check it out the same project on my profile.
How to make the image effect?
Instead of declare a image tag in your index.html you could set a div and place the image with the background-image property in your CSS file. I believe that with this approach would be easier to set another div inside of the main image and make the same process but this time with :hover{background-image:}.