• css 画三角形


    <div class='triangle-rihgt'></div>
    <div class='triangle-top'></div>
    <div class='triangle-left'></div>
    <div class='triangle-bottom'></div>
    
    .triangle-rihgt{
    	 0;
    	height: 0;
    	border-bottom:10px solid  transparent;
    	border-top:10px solid  transparent;
            border-left: 20px solid  red;
    }
    .triangle-left{
    	 0;
    	height: 0;
    	border-bottom:10px solid  transparent;
            border-top:10px solid  transparent;
    	border-right: 20px solid  green;
    }
    .triangle-top{
    	 0;
    	height: 0;
    	border-right:10px solid  transparent;
    	border-left:10px solid  transparent;
    	border-bottom: 20px solid  #333;
    }
    .triangle-bottom{
    	 0;
    	height: 0;
    	border-right:10px solid  transparent;
    	border-left:10px solid  transparent;
    	border-top: 20px solid  #999;
    }
    

      

    css三角形

     
     
     
     
  • 相关阅读:
    「学习记录」《数值分析》第三章计算实习题(Python语言)
    Set原理
    字符串流stringReader
    Collection List接口
    io
    Dubbo 服务容错Hystrix
    Duboo 与springboot整合
    读取配置文件
    springboot 端口号
    springboot 多环境选择
  • 原文地址:https://www.cnblogs.com/Enid0044/p/8474168.html
Copyright © 2020-2023  润新知