📜  如何在背景图像上赋予线性透明度 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:49.335000             🧑  作者: Mango

代码示例1
background: linear-gradient(to right, rgba(255,255,255,0) 20%,
              rgba(255,255,255,1)), url(http://foo.com/image.jpg);