zoukankan      html  css  js  c++  java
  • 纯CSS气泡框实现方法探究

    <style><!--
    .tag{
           200px;
        height: 100px;
        border: 2px solid #CCC;
        position: relative;
        background-color: #FFF;
        border-radius: 10px;
        text-align: center;
        line-height:100px
    }
    .tag:before,.tag:after{
            content: "";
        display: block;
        border- 20px;
        position: absolute;
        bottom: -40px;
        left: 12px;
        border-style: solid dashed dashed;
        border-color: #CCC transparent transparent;
        font-size: 0;
        line-height: 0;
    }
    .tag:after{
        bottom: -37px;
        border-color: #FFF transparent transparent
    }
    --></style>
    <div class="tag">CSS QQ气泡框</div>

    <style><!--
    .tag{
            200px;
        height: 100px;
        border: 2px solid #CCC;
        position: relative;
        background-color: #FFF;
        border-radius: 10px;
        text-align: center;
        line-height:100px
    }
    .tag:before,.tag:after{
            content: "";
        display: block;
        border- 20px;
        position: absolute;
        bottom: -40px;
        left: 12px;
        border-style: solid dashed dashed;
        border-color: #CCC transparent transparent;
        font-size: 0;
        line-height: 0;
    }
    .tag:after{
        bottom: -37px;
        border-color: #FFF transparent transparent
    }
    --></style>
    <div class="tag">CSS QQ气泡框</div>
    
  • 相关阅读:
    Codesys——限定符的使用方法[来自Codesys的Help]
    分页后台
    多条件查询判断
    添加跟反射
    试图页面分页首选
    动态游标存储过程 表名为参数
    索引器
    泛型 Generics
    Win10 锁屏图片 路径
    SQL2014 error 40 ( Microsoft SQL Server, 错误2)
  • 原文地址:https://www.cnblogs.com/linkhtml/p/5488833.html
Copyright © 2011-2022 走看看