干杯!
我是CSS/HTML的新手,但我想在文本上应用渐变,如下图所示.我怎样才能用css实现它?
 

我需要在可滚动 div 的底部添加白色线性渐变,它应该始终位于 div 的底部。我使用固定位置添加它,它适用于除 IE >= 9 之外的所有浏览器。我需要它用于所有浏览器,包括 IE>=9。它应该是这样的 - http://prntscr.com/ne3rfe
这是那个div的css代码
 .perfect-scrollbar::before {
  content: "";
  position: fixed;
  overflow: hidden;
  width: 100%;
  height: 100%;
  bottom: 0;
  background: #7db9e8;
  background: -moz-linear-gradient(top, #7db9e8 0%, #1e5799 101%);
  background: -webkit-linear-gradient(top, #7db9e8 0%, #1e5799 101%);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, rgba(255, 255, 255, .8) 101%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#7db9e8', endColorstr='#1e5799', GradientType=0);
} 
Run Code Online (Sandbox Code Playgroud)