zoukankan      html  css  js  c++  java
  • div+css 画三角形

     
     
     
     




    <style type="text/css">  
    .rightdirection  
    {  
        0;height:0;  
        line-height:0;  
        border-20px;  
        border-style:solid;  
        border-color:transparent transparent transparent #A9DBF6;  
    }  
    .bottomdirection  
    {  
        0;height:0;  
        line-height:0;  
        border-20px;  
        border-style:solid;  
        border-color: #A9DBF6 transparent transparent transparent;  
    }  
    .leftdirection  
    {  
        0;height:0;  
        line-height:0;  
        border-20px;  
        border-style:solid;  
        border-color: transparent #A9DBF6  transparent transparent;  
    }  
    .topdirection  
    {  
        0;height:0;  
        line-height:0;  
        border-20px;  
        border-style:solid;  
        border-color: transparent transparent #A9DBF6 transparent;  
    }  
    .topdirection1  
    {  
        0;height:0;  
        line-height:0;  
        border-20px;  
        border-style:solid;  
        border-color: #A9DBF6   transparent transparent #A9DBF6 ;  
    } 
    </style>  
    <div  class="rightdirection"></div>  
    <p>  
    <div  class="bottomdirection"></div>  
    <p>  
    <div  class="leftdirection"></div>  
    <p>  
    <div  class="topdirection"></div>  
    
    <br/><br/><br/><br/>
    <div  class="topdirection1"></div>  
    

      /****字体倾斜***/

    .telta span{ color: #fff; font-weight: bold; position: absolute; margin-top: -5px; margin-left: -9px; -webkit-transform:rotate(-45deg); }   

  • 相关阅读:
    模板
    常用文件的位置
    前端基础之JavaScript
    CSS属性相关
    前端之CSS
    jQuery方法及使用
    前端-HTLM
    前端之BOM与DOM-JQuery
    视图-触发器-事务-存储过程-函数
    Navicat-pymysql-sql注入问题
  • 原文地址:https://www.cnblogs.com/hgj123/p/4202800.html
Copyright © 2011-2022 走看看