制作一个边缘的径向渐变。

huangapple go评论57阅读模式
英文:

Make a radial gradient in edge

问题

background-image: radical-gradient(#3A3456, #211E2E);

你为什么不工作,能告诉我为什么吗?并提供解决方案吗?
谢谢

我也尝试使用锥形渐变来创建一个激进的渐变,但更难以实现,我没有得到想要的结果。

我期望的效果类似于这样:
enter image description here

英文:

I am trying to make a radical gradient in edge but it doesn't work :
background-image: radical-gradient(#3A3456, #211E2E);
Do you know why and can you give a solution to my problem pls?
Thanks

I also tried to use a conic gradient to make a radical gradient but it was more difficult to do it and I didn't get the result I wanted.

I am expecting something like this :
enter image description here

答案1

得分: -1

我相信你想要的是:
background-image: radial-gradient(#3A3456, #211E2E));
问题是一个打字错误。它不是一个 radical-gradient,而是一个 radial-gradient。

英文:

I believe you want:
background-image: radial-gradient(#3A3456, #211E2E));

The issue was a typing problem. It is not a radical-gradient, but instead a radial-gradient

huangapple
  • 本文由 发表于 2023年2月7日 03:22:45
  • 转载请务必保留本文链接:https://go.coder-hub.com/75365697.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定