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>
    
  • 相关阅读:
    提取ecshop的mysql类
    phpexcel读取excel的xls xlsx csv格式
    Awstats显示国家地区插件GeoIP安装
    GeoIP Legacy City数据库安装说明
    JavaArrayList和数组间的相互转换
    mysql 初步认识
    HTTP ContentType
    ibatis 增加调试方法
    你了解Java中的Future吗?
    Java 环境问题总结
  • 原文地址:https://www.cnblogs.com/linkhtml/p/5488833.html
Copyright © 2011-2022 走看看