第二种方法制作三角
来源:互联网 发布:淘宝最好的外贸原单店 编辑:程序博客网 时间:2024/04/27 05:06
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title></title> <style type="text/css"> div.arrow-up { width:0px; height:0px; border-left:20px solid transparent; /* left arrow slant */ border-right:20px solid transparent; /* right arrow slant */ border-bottom:20px solid #FF9600; /* bottom, add background color here */ font-size:0px; line-height:0px; margin-bottom: 10px; } /* create an arrow that points down */ div.arrow-down { width:0px; height:0px; border-left:20px solid transparent; border-right:20px solid transparent; border-top:20px solid #FF9600; font-size:0px; line-height:0px; margin-bottom: 10px; } /* create an arrow that points left */ div.arrow-left { width:0px; height:0px; border-bottom:20px solid transparent; /* left arrow slant */ border-top:20px solid transparent; /* right arrow slant */ border-right:20px solid #FF9600; /* bottom, add background color here */ border-left: 20px solid transparent; font-size:0px; line-height:0px; } /* create an arrow that points right */ div.arrow-right { width:0px; height:0px; border-bottom:20px solid transparent; /* left arrow slant */ border-top:20px solid transparent; /* right arrow slant */ border-left:20px solid #FF9600; /* bottom, add background color here */ font-size:0px; line-height:0px; } </style></head><body><div class="arrow-up"></div><div class="arrow-down"></div><div class="arrow-left"></div><div class="arrow-right"></div></body></html>
这种方法是隐藏其他三边,显示剩下的一个border
0 0
- 第二种方法制作三角
- css制作三角(增加了bootstrap中的方法)
- 【第二届蓝桥杯】上三角
- CSS制作三角边框
- CSS制作三角标签
- CSS三角制作
- css3 制作三角
- 小三角制作形式
- 打印出杨辉三角的三种方法
- 两种方法打印杨辉三角
- iNOC产品部-杨辉三角的变形(第二种方法也可以通过,测试数据太弱,n>10000就会爆的)
- iNOC产品部-杨辉三角的变形(第二种方法也可以通过,测试数据太弱,n>10000就会爆的)
- css border制作三角箭头
- 纯CSS小三角制作
- 小三角符号制作原理
- css transform制作三角图形
- 液晶显示第二种方法
- css3制作小三角和镂空样式的小三角
- RxJava操作符(一)Creating Observables
- 7则心理寓言故事
- [php函数]--数组函数--array_chunk
- cxf+Spring的webservice应用
- NodeJS 使用Stream 方式 copy 大文件
- 第二种方法制作三角
- 如何发布Node模块到NPM社区
- API Guides(六)—— Create a Search Interface To Drag and Drop
- 51nod--任务执行顺序
- Android 微信支付彻底扫坑
- 简述 Struts2 的工作流程:
- Android 项目目录结构
- iOS-UIImage imageWithContentsOfFile 和 imageName 对比
- 循环练习题