Is it possible to graduate the opacity of an HTML element?

前端 未结 6 1782
误落风尘
误落风尘 2020-12-21 05:54

I want a

element (the whole element, contents and everything) to fade out towards the bottom. It\'s to truncate a news post that has to fit into a v
6条回答
  •  醉梦人生
    2020-12-21 06:47

    Is this what you are looking for?

    Take a look at my jsfiddle.

    I'm not sure what you want because your description is not satisfactory. Can you make a jsfiddle of what the problem is?

提交回复
热议问题