博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
css写出三角形(兼容IE)
阅读量:6988 次
发布时间:2019-06-27

本文共 1070 字,大约阅读时间需要 3 分钟。

利用css写三角形,兼容IE7

.arrow-up {
width:0px; height:0px; border-left:10px solid transparent; border-right:10px solid transparent; border-bottom:10px solid red; font-size:0px; line-height:0px; margin: 0 auto; } .arrow-down {
width:0px; height:0px; border-left:10px solid transparent; border-right:10px solid transparent; border-top:10px solid blue; font-size:0px; line-height:0px; } .arrow-left {
width:0px; height:0px; border-bottom:10px solid transparent; border-top:10px solid transparent; border-right:10px solid #DC143C; font-size:0px; line-height:0px; } .arrow-right {
width:0px; height:0px; border-bottom:10px solid transparent; border-top:10px solid transparent; border-left:10px solid #FF00FF; font-size:0px; line-height:0px; }

 

效果如下:

转载于:https://www.cnblogs.com/qiye2016/p/5807323.html

你可能感兴趣的文章
SQL SERVER 2008安全配置
查看>>
Json hijacking/Json劫持漏洞
查看>>
算法知识梳理(5) 数组第二部分
查看>>
多页应用增量更新静态资源Webpack打包方案
查看>>
ionic V3.3开发踩坑集锦
查看>>
Realm入门指北
查看>>
彻底搞懂Bean加载
查看>>
iOS之传值
查看>>
技术blog 迁移
查看>>
linux 定时器怎么用? crontab 基础
查看>>
React Native - Image
查看>>
Docker和宿主机操作系统文件目录互相隔离的实现原理
查看>>
小程序踩坑系列一
查看>>
探索webpack热更新对代码打包结果的影响(二)
查看>>
微信小程序_豆瓣电影
查看>>
记一次网络模块的小规模重构
查看>>
FMI-人工智能&大数据高峰论坛(深圳站)
查看>>
区块链简单研读笔记
查看>>
为什么 scrum 开发人员是一个 T-形的人 ?
查看>>
使用 CODING 进行 Spring Boot 项目的集成
查看>>