day07

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

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

复制代码
<html>

<head>

    <script src="//at.alicdn.com/t/c/font_4930922_qnjgmb4frw.js"></script>

    <style>

        /* Write your CSS code here */

        body {

            background-color: rgb(240, 243, 251);

            display: flex;

        }

        .outer {

            width: 600px;

            height: 400px;

            margin: auto;

            display: flex;

            flex-direction: column;

            justify-content: space-around;

        }

        .first {

            background-color: white;

            height: 40px;

            display: flex;

            justify-content: space-between;

            box-shadow: 0px 5px 5px 0px #00000047;

        }

        .second {

            background-color: rgb(21, 22, 38);

            height: 40px;

            display: flex;

            justify-content: space-between;

            box-shadow: 0px 5px 5px 0px #00000047;

            color: white;

        }

        .third {

            background-color: white;

            height: 40px;

            display: flex;

            justify-content: space-between;

            box-shadow: 0px 5px 5px 0px #00000047;

            border-radius: 20px;

        }

        .four {

            background-color: rgb(21, 22, 38);

            height: 40px;

            display: flex;

            justify-content: space-between;

            box-shadow: 0px 5px 5px 0px #00000047;

            color: white;

            border-radius: 20px;

        }

        .five {

            background-color: white;

            height: 40px;

            display: flex;

            justify-content: center;

            box-shadow: 0px 5px 5px 0px #00000047;

        }

        .six {

            background-color: rgb(21, 22, 38);

            height: 40px;

            display: flex;

            justify-content: center;

            box-shadow: 0px 5px 5px 0px #00000047;

            color: white;

        }

        .svg1 {

            width: 30px;

            height: 30px;

            padding: 5px;

        }

        span {

            display: inline-block;

            line-height: 40px;

            margin-left: 10px;

        }

        .svg2 {

            width: 20px;

            margin-right: 10px;

        }

        .svg2:hover {

            cursor: pointer;

        }

    </style>

</head>

<body>

    <div class="outer">

        <div class="first">

            <div style="display: flex">

                <svg class="svg1" aria-hidden="true">

                    <use xlink:href="#icon-wancheng"></use>

                </svg>

                <span>File has been removed successfuly.</span>

            </div>

            <svg class="svg2" aria-hidden="true">

                <use xlink:href="#icon-guanbi"></use>

            </svg>

        </div>

        <div class="second">

            <div style="display: flex">

                <svg class="svg1" aria-hidden="true">

                    <use xlink:href="#icon-wancheng"></use>

                </svg>

                <span>File has been removed successfuly.</span>

            </div>

            <svg class="svg2" aria-hidden="true">

                <use xlink:href="#icon-guanbi"></use>

            </svg>

        </div>

        <div class="third">

            <div style="display: flex">

                <svg class="svg1" aria-hidden="true">

                    <use xlink:href="#icon-wancheng"></use>

                </svg>

                <span>File has been removed successfuly.</span>

            </div>

            <svg class="svg2" aria-hidden="true">

                <use xlink:href="#icon-guanbi"></use>

            </svg>

        </div>

        <div class="four">

            <div style="display: flex">

                <svg class="svg1" aria-hidden="true">

                    <use xlink:href="#icon-wancheng"></use>

                </svg>

                <span>File has been removed successfuly.</span>

            </div>

            <svg class="svg2" aria-hidden="true">

                <use xlink:href="#icon-guanbi"></use>

            </svg>

        </div>

        <div class="five">

            <div style="display: flex">

                <svg class="svg1" aria-hidden="true">

                    <use xlink:href="#icon-wancheng"></use>

                </svg>

                <span>File has been removed successfuly.</span>

            </div>

        </div>

        <div class="six">

            <div style="display: flex">

                <svg class="svg1" aria-hidden="true">

                    <use xlink:href="#icon-wancheng"></use>

                </svg>

                <span>File has been removed successfuly.</span>

            </div>

        </div>

    </div>

</body>

</html>
相关推荐
小蜜蜂嗡嗡2 小时前
【flutter对屏幕底部有手势区域(如:一条横杠)导致出现重叠遮挡】
前端·javascript·flutter
伍哥的传说3 小时前
Vue 3 useModel vs defineModel:选择正确的双向绑定方案
前端·javascript·vue.js·definemodel对比·usemodel教程·vue3.4新特性·vue双向绑定
胡gh8 小时前
页面卡成PPT?重排重绘惹的祸!依旧性能优化
前端·javascript·面试
胡gh8 小时前
简单又复杂,难道只能说一个有箭头一个没箭头?这种问题该怎么回答?
javascript·后端·面试
言兴8 小时前
# 深度解析 ECharts:从零到一构建企业级数据可视化看板
前端·javascript·面试
山有木兮木有枝_8 小时前
TailWind CSS
前端·css·postcss
烛阴9 小时前
TypeScript 的“读心术”:让类型在代码中“流动”起来
前端·javascript·typescript
杨荧9 小时前
基于Python的农作物病虫害防治网站 Python+Django+Vue.js
大数据·前端·vue.js·爬虫·python
Moment10 小时前
毕业一年了,分享一下我的四个开源项目!😊😊😊
前端·后端·开源
程序视点11 小时前
Escrcpy 3.0投屏控制软件使用教程:无线/有线连接+虚拟显示功能详解
前端·后端