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>
    
  • 相关阅读:
    js多图上传展示和删除
    简单的下拉加载和上拉加载
    js实现放大镜效果
    js表格拖拽
    js表格上下移动添加删除
    js写的滑动解锁
    关于serialize() FormData serializeArray()表单序列化
    js日历
    js树状菜单
    Restful API官方文档
  • 原文地址:https://www.cnblogs.com/linkhtml/p/5488833.html
Copyright © 2011-2022 走看看