day06

这就是今天要实现的效果图(颜色提取推荐使用snipaste)

代码(仅供参考,不喜勿喷, 可以在评论区展示作品)

复制代码
<html>

<head>

    <style>

        /* Write your CSS code here */

        * {

            margin: 0;

            padding: 0;

        }

        body {

            background-image: repeating-radial-gradient(circle, white 10px, rgb(245, 248, 255) 100px, rgb(242, 223, 255) 200px, rgb(209, 251, 255) 300px, rgb(248, 239, 230) 400px, skyblue 500px, deepskyblue);

            display: flex;

            width: 100vw;

            height: 100vh;

        }
        
        .container {

            width: 600px;

            height: 300px;

            margin: auto;

            background-color: white;

            padding: 12px;

            border-radius: 20px;

            opacity: 0.9;

            transition: all 1s;

        }

        .container:hover {

            transform: scale(1.2);

        }

        .inner {

            width: 100%;

            height: 100%;

            background-image: linear-gradient(to right top, rgb(251, 243, 255), rgb(254, 249, 244));

            border-radius: 5px;

            display: flex;

            justify-content: center;

            align-items: center;

        }

        .item {

            width: 30%;

            height: 85%;

            padding: 10px;

            box-sizing: border-box;

        }

        .title {

            display: block;

            font-size: 18px;

            margin-bottom: 15px;

        }

        .symbol {

            font-size: 25px;

            font-weight: bolder;

        }

        .price {

            font-size: 35px;

            font-weight: bolder;

        }

        .explain {

            font-size: 10px;

        }

        .content {

            margin-top: 20px;

            text-align: left;

            font-size: 11px;

            font-weight: bolder;

            opacity: 0.9;

        }

        .btn {

            margin-top: 30px;

            width: 90px;

            height: 40px;

            border-color: transparent;

            border-radius: 6px;

            font-size: 12px;

            font-weight: bold;

            transition-property: all;

            transition-duration: 1s;

        }

        .btn:hover {

            transform: scale(1.1);

        }

        .btn1 {

            background-color: rgb(237, 187, 255);

        }

        .btn2 {

            background-color: rgb(174, 241, 245);

        }

        .btn3 {

            background-color: rgb(255, 221, 182);

        }

    </style>

</head>

<body>

    <div class="container">

        <div class="inner">

            <div class="item item1">

                <strong class="title">Free</strong>

                <span class="symbol">$</span><span class="price">0</span>

                <p class="explain">Free for your whole team</p>

                <p class="content">

                    For individuals or teams

                    <br>

                    looking to organize anything.

                </p>

                <button class="btn btn1">Get started</button>

            </div>

            <div class="item item2">

                <strong class="title">Standard</strong>

                <span class="symbol">$</span><span class="price">6</span>

                <p class="explain">Per user per month</p>

                <p class="content">

                    For teams that need to

                    <br>

                    manage more work.

                </p>

                <button class="btn btn2">Upgrade Now</button>

            </div>

            <div class="item item3">

                <strong class="title">Premium</strong>

                <span class="symbol">$</span><span class="price">12</span>

                <p class="explain">Per user per month</p>

                <p class="content">

                    Best for teams that need to

                    <br>

                    track multiple projects.

                </p>

                <button class="btn btn3">Try for free</button>

            </div>

        </div>

    </div>

</body>

</html>
相关推荐
李纲明5 分钟前
WordPress 站点变慢:按 TTFB → 缓存 → 查询 → 前端 分层排查(含配置注意)
前端·缓存·性能优化·wordpress·后端开发
程序人生88814 分钟前
PDF 转 Word 版式错乱、表格丢失?DocConverter Web 格式互转引擎的保真实践
前端·人工智能·opencv·机器学习·pdf·word
粥里有勺糖1 小时前
安利一下最近用的桌面“Agent” | T3 Code
前端·github·ai编程
xy34531 小时前
Axure 9.0 动态面板基本操作
前端·ui·html·axure·原型·产品设计
不停喝水2 小时前
【前端转全栈java速通课】 项目实战④7-11节 操作数据库-登录-注册-修改密码-注销-mubatis-plus简化crud-
java·前端·数据库
一水鉴天2 小时前
统一对象拓扑(UOT)设计全链定稿:从三件事分离到三继承 之1 20261010(豆包“查看聊天内容”继续)
前端·css
栖凤3 小时前
Java 的 try-catch 在 Agent 里失效了,我用了 5 个模式才兜住
java·前端·python
粥里有勺糖3 小时前
视野修炼第136期 | 前端小恐龙"Deno"被收购
前端·github·ai编程
修炼的dance3 小时前
页面塞了13.88 MB字体,导出的PDF只有71 KB
前端
qq_369173633 小时前
如何将 AI 生成的 HTML 网页发布成在线链接?不用自己搭建服务器
前端·人工智能·html·效率工具·html 发布