gpt4 book ai didi

html - css:chrome 的 -moz-linear-gradient 的等价物是什么

转载 作者:搜寻专家 更新时间:2023-10-31 22:01:30 24 4
gpt4 key购买 nike

我有像 background: -moz-linear-gradient(center top , #59a1d8, #27247D) repeat scroll 0 0 #0f78c7; 这样的 css 用于我的按钮,这在 mozilla 中对我来说很好。但是在 chrome 浏览器中它不起作用,这相当于什么。

谢谢,尼哈达

最佳答案

background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4096ee), color-stop(100%,#4096ee)); 
// Chrome, Safari4+

background: -webkit-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */

http://www.colorzilla.com/gradient-editor/

使渐变在大多数浏览器中工作的好资源。

关于html - css:chrome 的 -moz-linear-gradient 的等价物是什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7697218/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com