当前位置: 首页 > news >正文

day03

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

在这里插入图片描述

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

<html><head><style>/* Write your CSS code here */@font-face {font-family: 'iconfont';/* Project id 4930922 */src: url('//at.alicdn.com/t/c/font_4930922_zjx4lgsxzjj.woff2?t=1748064330130') format('woff2'),url('//at.alicdn.com/t/c/font_4930922_zjx4lgsxzjj.woff?t=1748064330130') format('woff'),url('//at.alicdn.com/t/c/font_4930922_zjx4lgsxzjj.ttf?t=1748064330130') format('truetype');}body {background-color: rgb(239, 240, 243);display: flex;}.card {margin: auto;width: 355px;height: 375px;background-color: white;border-top-left-radius: 5px;border-top-right-radius: 20px;border-bottom-left-radius: 5px;border-bottom-right-radius: 5px;box-shadow: 0px 0px 20px 10px rgb(223, 226, 233);position: relative;}.ico-close {font-family: iconfont;position: absolute;top: 10px;right: 10px;cursor: pointer;border-radius: 50%;line-height: 40px;width: 40px;height: 40px;text-align: center;text-shadow: 0px 0px 40px;font-style: normal;display: block;}.ico-close:hover {background-color: gray;}.ico-close:active {background-color: skyblue;}.merry-tree {font-family: 'iconfont';font-style: normal;font-size: 40px;text-align: center;position: absolute;top: 60px;left: 160px;}.title {display: inline-block;width: 100%;color: rgb(40, 49, 79);text-align: center;position: absolute;top: 120px;}.text1 {font-size: 10px;font-weight: bold;text-align: center;color: rgb(91, 98, 121);position: absolute;top: 150px;width: 100%;}.text2 {color: orange;text-align: center;font-size: 12px;width: 100%;position: absolute;top: 200px;}.btn {width: 180px;height: 46px;border-radius: 5px;color: white;background-color: rgb(36, 46, 76);position: absolute;top: 260px;left: 86px;transition: all;transition-duration: 1s;}.btn:hover {background-color: skyblue;}.btn:active {background-color: deepskyblue}</style></head><body><div class="card"><i class="ico-close">&#xe67a;</i><i class="merry-tree">&#xe651;</i><strong class="title">Merry&nbsp;&nbsp;&nbsp;Christmas !</strong><p class="text1">You completed all your December's tasks<br>so we decided to get you a gift:</p><p class="text2">50% off on your Yearly Premium Plan</p><button class="btn">GET YOUR GIFT</button></div></body></html>

相关文章:

  • 大模型实现多卡训练保证数据一致性
  • SSM-IOC入门案例/DI入门案例
  • P4155 [SCOI2015] 国旗计划
  • 第二批考更有利?软考高项两个批次考试难度对比分析!
  • Oracle EBS 12.1 处理ISG 发布的wsdl 被请求时遇到500错误
  • K3s 中,CoreDNS 无法启动并报错 Listen: listen tcp :53: bind: permission denied
  • 机器学习中的关键术语及其含义
  • 永磁同步电机控制算法--基于电磁转矩反馈补偿的新型IP调节器
  • 鸿蒙OSUniApp 实现的数据可视化图表组件#三方框架 #Uniapp
  • IPsec协议
  • vue 实现table上下拖拽行功能
  • PyTorch 中mm和bmm函数的使用详解
  • 利用机器学习优化数据中心能效
  • Go 应用中的 Redis 连接与操作
  • chrome浏览器地址栏输入查询无效
  • c#,vb.net使用OleDb写入Excel异常:字段太小而不能接受所要添加的数据的数量
  • 【无标题】C++单例模式详解
  • CentOS 7 下 Redis 从 5.0 升级至 7.4.3 全流程实践
  • 人工智能模型方面有哪些优化措施,可以提升模型的准确率
  • 嵌入式开发--STM32G431无法正常运行程序,BOOT0与CAN冲突
  • 怎么做消费一卡通网站/百度网盘app下载安装
  • 怎样做国外电子商务网站/免费招聘信息发布平台
  • 做电影网站需要什么手续/临沂百度公司地址
  • 十大免费行情软件下载网站/自媒体135网站
  • 网站做影集安全吗/班级优化大师官方网站
  • 网站自定义错误页面模板/seo网站排名优化公司哪家好