CSS Opacity Property

后端 未结 7 905
难免孤独
难免孤独 2020-12-11 18:43

Hi i am using CSS Opacity Property for a div tag and it works well but the problem is when I write some text or paste images on that div tag they also become fade. I just ne

7条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-11 19:32

    Why don't you reset the opacity then?

    #text in fade div
    {
        font-weight:bold;
        color:#8A2BE2;
        opacity:1;
        filter:alpha(opacity=100); /* For IE8 and earlier */
    }
    

提交回复
热议问题