引入buttoncss Gradient has outdated direction syntax. New syntax is like `to left` instead of `right`.

引入button css 后控制台一直提示 Gradient has outdated direction syntax. New syntax is like `to left` instead of `right`.、

引入buttoncss Gradient has outdated direction syntax. New syntax is like `to left` instead of `right`._第1张图片

也就是说 Gradient 有过时的方法,请使用新的方法  to left 而不是使用 right

也就是说归于 Gradient  的使用发方法变了。

css文件中查询 gradient

将 linear-gradient(top, white, gainsboro)

改成 linear-gradient(to | top, white, gainsboro);

引入buttoncss Gradient has outdated direction syntax. New syntax is like `to left` instead of `right`._第2张图片

 

 

 

 

你可能感兴趣的:(Css)