zoukankan      html  css  js  c++  java
  • 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三角形

     
     
     
     
  • 相关阅读:
    angularjs表格方式显示数据
    AngularJS $http
    指令
    B2C电商平台开发心得(asp.net+bootstrap)
    项目修改有感_主要是以js、Gridview为主
    ASP.NET 导出gridview中的数据到Excel表中,并对指定单元格换行操作
    AtrousConvolution和dilated convolution
    keras中自定义Layer
    Messes in Reading Source Coding of SSD
    SSD
  • 原文地址:https://www.cnblogs.com/Enid0044/p/8474168.html
Copyright © 2011-2022 走看看