css画三角形
来源:互联网 发布:民间小调软件下载 编辑:程序博客网 时间:2024/05/29 17:07
给块级标签设置样式即可
上三角
width: 0; height: 0; border-left: 50px solid transparent; border-right: 50px solid transparent; border-bottom: 100px solid red;
下三角
width: 0; height: 0; border-left: 50px solid transparent; border-right: 50px solid transparent; border-top: 100px solid red;
左三角
width: 0; height: 0; border-top: 50px solid transparent; border-right: 100px solid red; border-bottom: 50px solid transparent;
右三角
width: 0; height: 0; border-top: 50px solid transparent; border-left: 100px solid red; border-bottom: 50px solid transparent;
左上直角
width: 0; height: 0; border-top: 100px solid red; border-right: 100px solid transparent;
右上直角
width: 0; height: 0; border-top: 100px solid red; border-left: 100px solid transparent;
左下直角
width: 0; height: 0; border-bottom: 100px solid red; border-right: 100px solid transparent;
右下直角
width: 0; height: 0; border-bottom: 100px solid red; border-left: 100px solid transparent;
阅读全文
0 0
- 用CSS画三角形
- css 画三角形
- HTML+CSS 画三角形
- css border 画三角形
- css实现画三角形
- 用css画三角形
- 用CSS画三角形
- CSS 画三角形
- 用CSS画三角形
- CSS画三角形集锦
- css画三角形
- css画三角形
- 用css画三角形
- 用CSS画三角形
- css画三角形
- CSS 画三角形
- 用CSS画三角形
- css画一个三角形
- OpenCV实现RGB与YUV的转换
- uglifyjs使用
- SQL之数据处理(增删改查)
- 《Win32多线程程序设计》之异步IO
- standard.jar和jstl.jar的下载地址
- css画三角形
- GitChat·人工智能 | 肿瘤医疗影像 AI 识别技术实践
- 安家第一天
- UVA
- Activity的启动模式
- java学习1:数组管理小程序,附源码
- DB2 V10.5 安装记录
- 【LeetCode】21. Merge Two Sorted Lists
- HDU