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>
相关推荐
GISer_Jing2 分钟前
AI Agent操作系统架构师:Harness Engineer解析
前端·人工智能·ai·aigc
英俊潇洒美少年11 分钟前
css中专门用来提升渲染性能、减少重排重绘的属性
前端·css
天若有情67325 分钟前
前端HTML精讲01:别再乱 div 一把抓,吃透语义化标签才是进阶第一步
前端·html
Highcharts.js25 分钟前
React 开发者的图表库生态:Highcharts React
前端·react.js·前端框架
阿部多瑞 ABU25 分钟前
文明文化悖论
前端·人工智能·ai写作
钛态1 小时前
Flutter 三方库 react 泛前端核心范式框架鸿蒙原生层生态级双向超能适配:跨时空重塑响应式单向数据流拓扑与高度精密生命周期树引擎解耦视图渲染控制中枢(适配鸿蒙 HarmonyOS ohos)
前端·flutter·react.js
全栈前端老曹1 小时前
【前端地图】地图开发基础概念——地图服务类型(矢量图、卫星图、地形图)、WGS84 / GCJ-02 / BD09 坐标系、地图 SDK 简介
前端·javascript·地图·wgs84·gcj-02·bd09·地图sdk
只与明月听1 小时前
RAG深入学习之向量数据库
前端·人工智能·python
吕不说1 小时前
AI 面试总挂?可能是表达出了问题:三层表达法 + STAR 进阶框架
前端
社恐的下水道蟑螂2 小时前
LangChain 进阶实战:从玩具 Demo 到生产级 AI 应用(JS/TS 全栈版)
前端·langchain·openai