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三角形

     
     
     
     
  • 相关阅读:
    PHP的后期静态绑定
    php的clone 浅拷贝
    python 从文件导入分类
    Yii2 主从 数据库
    什么是 jsonp ?
    为speedphp最新版添加 仿Yii 的简易版 数据验证 支持不同场景,自定义回调
    redis入门指南-安装redis
    composer -vvv
    依赖注入
    yii2-user
  • 原文地址:https://www.cnblogs.com/Enid0044/p/8474168.html
Copyright © 2011-2022 走看看