gpt4 book ai didi

html - 线性渐变在适用于 Ubuntu 的 Firefox 11 规范中不起作用

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

这是我的CSS

    * {
background: linear-gradient(to right, blue, white);
}

我的 html 只是基本标签(没有 div,什么都没有)

<!DOCTYPE html>
<html>

<head>
<meta http-equiv="refresh" content="10">
<link rel="stylesheet" type="text/css" href="main.css">
</head>
<title>Corruption in India</title>

<body>
</body>
</html>

但是就是没有出现

最佳答案

Firefox 11 不支持新的渐变语法。用于旧版本的符号是:

background: -moz-linear-gradient(left, blue, white);

当然,您可以同时使用这两者(以及其余前缀)来涵盖所有基础。

关于html - 线性渐变在适用于 Ubuntu 的 Firefox 11 规范中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19310609/

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