V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Can I use?
http://caniuse.com/
Less
http://lesscss.org
Cool Libraries
Bootstrap from Twitter
Jetstrap
isajdhs
V2EX  ›  CSS

这个网站背景渐变效果怎么实现的?

  •  
  •   isajdhs · 141 天前 · 818 次点击
    这是一个创建于 141 天前的主题,其中的信息可能已经有所发展或是发生改变。
    3 条回复    2023-12-09 20:22:08 +08:00
    ltq918
        1
    ltq918  
       141 天前
    ```css

    .x1e2d8s5 {
    background-image: radial-gradient(rgba(255,255,255,.25),rgba(255,255,255,0) 40%),radial-gradient(hsla(44,100%,66%,1) 30%,hsla(338,68%,65%,1),hsla(338,68%,65%,.4) 41%,transparent 52%),radial-gradient(hsla(272,100%,60%,1) 37%,transparent 46%),linear-gradient(155deg,transparent 65%,hsla(142,70%,49%,1) 95%),linear-gradient(45deg,hsla(213,100%,44%,1),hsla(209,100%,53%,1));
    }

    ```
    ltq918
        2
    ltq918  
       141 天前
    这个是完整的
    ```css

    .radient-background {
    background-image: radial-gradient(rgba(255, 255, 255, .25), rgba(255, 255, 255, 0) 40%), radial-gradient(hsla(44, 100%, 66%, 1) 30%, hsla(338, 68%, 65%, 1), hsla(338, 68%, 65%, .4) 41%, transparent 52%), radial-gradient(hsla(272, 100%, 60%, 1) 37%, transparent 46%), linear-gradient(155deg, transparent 65%, hsla(142, 70%, 49%, 1) 95%), linear-gradient(45deg, hsla(213, 100%, 44%, 1), hsla(209, 100%, 53%, 1));
    background-position: bottom left, 109% 68%, 109% 68%, center, center;
    background-size: 200% 200%, 285% 500%, 285% 500%, cover, cover;
    background-repeat: no-repeat;
    opacity: .08;
    }

    ```
    isajdhs
        3
    isajdhs  
    OP
       141 天前
    @ltq918 #1 找到了,谢谢
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3159 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 13:22 · PVG 21:22 · LAX 06:22 · JFK 09:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.