Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

All comments

  • @thapa14

    Submitted

    hello,

    I used :before Selector to change the color of image on hover. This is my updated solution, before i used two containers to change the color of image.

    please give feedback!!

    happy coding..!!

    @ArturoFLR

    Posted

    Thank you! It´s a very elegant and simpler solution, with fewer containers. I'm on it.

    Two suggestions:

    • Change the opacity directly on the background color, so it doesn't affect the icon.

    • Put a border-radius on .originalImage. Now it´s completely square.

    Thanks again!

    0
  • @thapa14

    Submitted

    hello,

    I used :before Selector to change the color of image on hover. This is my updated solution, before i used two containers to change the color of image.

    please give feedback!!

    happy coding..!!

    @ArturoFLR

    Posted

    Hello!

    I have also used the same image in both containers so that they have exactly the same size without having to give specific sizes to the height and width.

    I have seen other solutions and I have not found any that do not give specific sizes.

    It would be very interesting if someone has found another solution.

    0