Why does my img hover not work?

前端 未结 8 1086
谎友^
谎友^ 2021-01-26 02:26

I am trying to get to be set to an opacity: .04;, and when hovered over to be opacity:1; however, my img hover is not functioning. I am unsure of why t

8条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-26 03:16

    I copied and pasted your code into a "jsfiddle" and changed the CSS for the hover; it now goes solid upon mouseover.

    .intro-img:hover{
      opacity: 1;
    }
    

提交回复
热议问题