zoukankan      html  css  js  c++  java
  • arrow css

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>无标题文档</title>
    .tri {
    position: absolute;
    left: -21px;
    top: 40px;
    0;
    height: 0;
    line-height: 0;
    font-size: 0;
    border: 12px solid #e5e5e5;
    border-color: transparent #e5e5e5 transparent transparent;
    border-style: dashed solid dashed dashed;
    display: block;
    }
     
    .show {
    display: block;
    left: 230px;
    top: 0;
    224px;
    line-height: 20px;
    font-size: 12px;
    background: #fff;
    border: 3px solid #ededed;
    padding: 5px 0;
    overflow: hidden;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    }
    .trii {
    position: absolute;
    left: -2px;
    top: -7px;
    0;
    height: 0;
    line-height: 0;
    font-size: 0;
    border: 7px solid #fff;
    border-color: transparent #fff transparent transparent;
    border-style: dashed solid dashed dashed;
     
    .showid{position:absolute;top:-21px;left:40px;height:0;line-height:0;
        font-size:0;border:12px solid #ededed;border-color:transparent transparent #ededed transparent;border-style:dashed dashed solid dashed;
     }
     .showname{position:absolute;top:-1px;left:-8px;border:8px solid #fff;border-color:transparent transparent #fff transparent;border-style:dashed dashed solid dashed;height:0;line-height:0;font-size:0;}
    .topshow{
       border:4px solid #ededed;padding:6px;height:100px;100px;margin:auto; word-break:break-all; word-wrap:break-word;
    }
    </style>
    </head>
     
    <body>
    <div style="position:relative;margin:100px 200px 50px">
     <div class="tri" ><div class="trii"></div></div>
     <div class="show" style="height:100px"></div>
    </div> 
     
     
    <div style="position:relative;100px;height:100px;">
     <div class="showid"><div class="showname"></div></div>
     <div class="topshow">11111333333333</div>
    </div>
    </body>
    </html>
  • 相关阅读:
    网站链接
    CSS 初始化
    常见浏览器+浏览器内核
    sublime及其插件的安装
    数码时钟.js
    每天迁移MySQL历史数据到历史库Python脚本
    python和redis简单交互
    python和mongodb简单交互
    python3与mysql交互
    Red Hat Enterprise Linux 7.2修改主机名(hostname)
  • 原文地址:https://www.cnblogs.com/sunrise/p/3490848.html
Copyright © 2011-2022 走看看