gpt4 book ai didi

css - 如何在 mozilla firefox 上获得线性渐变效果

转载 作者:太空宇宙 更新时间:2023-11-03 23:51:37 24 4
gpt4 key购买 nike

我正在使用以下 css 来获得线性渐变效果,但它在 mozilla firefox 中不起作用,你们中的任何人都可以帮助在 firefox 中获得相同的效果。

CSS 是

background-image: -webkit-linear-gradient(bottom,rgba(0,0,0,.65) 0,transparent);

最佳答案

我总是使用 this渐变编辑器。一个漂亮的渐变可视化编辑器,带有 css 代码输出。创建的代码支持所有主流浏览器,并为旧版 Internet Explorer 提供后备。

关于css - 如何在 mozilla firefox 上获得线性渐变效果,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19904187/

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