Gradient over img tag using css

后端 未结 4 1348
孤独总比滥情好
孤独总比滥情好 2020-12-31 00:42

I want to place a gradient over an tag. src attribute of the tag is angular-item. For example:

4条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-31 01:00

    try placing a div over the image in question and placing the gradient on the div instead of the image.

提交回复
热议问题