兼容 线性渐变

background-image:-webkit-linear-gradient(to top, rgba(#000, 1),rgba(#000, 0));
background-image:linear-gradient(to top,rgba(#000, 1),rgba(#000, 0));

原文地址:https://www.cnblogs.com/Silababy/p/7019118.html