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

css三角制作(二十课)

代码:

    <style>/* 边框原理 */.box1 {width: 0;height: 0;border-top: 100px solid pink;border-bottom: 100px solid blue;border-left: 100px solid yellow;border-right: 100px solid greenyellow;}/* 三角制作 */.box2 {width: 0;height: 0;border: 100px solid transparent;border-right: 100px solid greenyellow;margin: 5px;}.jd {position: relative;width: 100px;height: 100px;background-color: pink;}.jd span {position: absolute;right: 10px;top: -25px;width: 0;height: 0;border: 10px solid transparent;border-bottom: 10px solid greenyellow;margin: 5px;}</style>
</head><body><div class="box1"></div><div class="box2"></div><div class="jd"><span></span></div>
</body></html>

http://www.lryc.cn/news/484267.html

相关文章:

  • C++_priority_queue(优先级队列)
  • 微信小程序——01开发前的准备和开发工具
  • MySQL 的主从复制数据同步
  • python——面向对象
  • Microsoft 365 Exchange如何设置可信发件IP白名单
  • LM27313典型电路之升压电路
  • 嵌入式面试八股文(七)·#ifndef#define#endif的作用、以及内存分区(全局区、堆区、栈区、代码区)
  • 【弱监督视频异常检测】2024-ESWA-基于扩散的弱监督视频异常检测常态预训练
  • Android 13 实现屏幕熄屏一段时候后关闭 Wi-Fi 和清空多任务列表
  • Elasticsearch磁盘占用大于95%时将所有索引置为只读
  • 删除 git config 保存的密码
  • Springboot环境搭建详解
  • SpringCloud框架学习(第三部分:Resilience4j 与 Micrometer)
  • Scala的Map集合(不可变)
  • 深入剖析:Spring MVC与Struts的较量
  • 4.Mybatis中,在Mapper的SQL映射文件中,使用<choose><when>无法识别参数的情况
  • antd proFromSelect 懒加载+模糊查询
  • Spring Boot 牛刀小试 org.springframework.boot:spring-boot-maven-plugin:找不到类错误
  • qt中ctrl+鼠标左键无法进入
  • 丹摩征文活动 | 丹摩智算平台:服务器虚拟化的璀璨明珠与实战秘籍
  • 本机ip地址和网络ip地址一样吗
  • websocket身份验证
  • 案例解读 | 某三甲医院IT监控体系升级实例
  • Ubuntu20.04 为脚本文件创建桌面快捷方式 ubuntu
  • LeetCode297.二叉树的序列化和反序列化
  • 应用程序部署(IIS的相关使用,sql server的相关使用)
  • 小程序源码-模版 100多套小程序(附源码)
  • UE5运行时创建slate窗口
  • 浅谈C#之单线程流式适配器
  • 【更新中】《硬件架构的艺术》笔记(三):处理多个时钟