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); }   

  • 相关阅读:
    关于 token
    windows 使用 virtualbox,搭建 minikube 环境
    kafka 和 rocketMQ 的数据存储
    分享周鸿祎的《如何建立一个“铁打的营盘”》
    How to configue session timeout in Hive
    毕业十年纪念
    常用排序算法
    [异常处理]class kafka.common.UnknownTopicOrPartitionException (kafka.server.ReplicaFetcherThread)
    线程的几个状态
    星型模式
  • 原文地址:https://www.cnblogs.com/hgj123/p/4202800.html
Copyright © 2011-2022 走看看