我读到语法已更新以删除前缀,但我尝试了以下所有方法,但它们都不起作用:
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#82dc7b), to(#61a45c));
-webkit-linear-gradient(top, #82dc7b, #61a45c);
-moz-linear-gradient(top, #82dc7b, #61a45c);
-ms-linear-gradient(top, #82dc7b, #61a45c);
-o-linear-gradient(top, #82dc7b, #61a45c);
linear-gradient(to bottom, #82dc7b, #61a45c);