为了清理终端的错误提醒,发现了以上的提醒
原来是gradient的语法过时了
旧的
background-image: linear-gradient(bottom,#ffb400,#f2f2f2);
新的
background-image: linear-gradient(to bottom,#ffb400,#f2f2f2);
总结:
将left, right, top, bottom 替换成 (to left, to right, to bottom, to top)