Jean-Charles Le Tousey

My take on fading content using transparent gradients in CSS

@jcletousey

#CSS, #background-clip, #mask-image, #grandients

Kylian reports on a method used by Amit Merchant to make content fades out.

He sees two problems with this, which are that the text is not selectable (a blocking point to me) and that it only works on pages with a solid background.

So, in turn, he presents two methods. Both have also their drawbacks.

https://polypane.app/blog/my-take-on-fading-content-using-transparent-gradients-in-css/

  • Likes
  • Reposts
  • Mentions