• 带三角形下标的提示框(按钮button)


    HTML:
    <div class="leaflet-popup-content-wrapper">
    <div class="leaflet-popup-content" >按钮</div>
    </div>
    <div class="leaflet-popup-tip-container">
    <div class="leaflet-popup-tip"></div>
    </div>

    css:
    <style>
    .leaflet-popup-content-wrapper,.leaflet-popup-tip{
    background:white;
    box-shadow:0 1px 14px rgba(0,0,0,0.4)
    }
    .leaflet-popup-content-wrapper{
    zoom:1;
    border:1px solid #999;
    padding:1px;
    border-radius:12px;
    text-align:center !important;
    }
    .leaflet-popup-tip-container{
    margin:-1px auto;
    40px;
    height:20px;
    position:relative;
    overflow:hidden;
    }
    .leaflet-popup-tip{
    17px;
    height:17px;
    padding:1px;
    margin:-10px auto 0;
    -webkit-transform:rotate(45deg);
    -moz-transform:rotate(45deg);
    -ms-transform:rotate(45deg);
    -o-transform:rotate(45deg);
    transform:rotate(45deg);
    }
    .leaflet-popup-content{
    51px;
    margin:0 !important;
    overflow: hidden;
    padding: 10px;
    line-height: 1.4
    }
    </style>
     
  • 相关阅读:
    python基础#1
    shell脚本基础练习题
    shell计算100以内加法
    shell脚本添加用户
    python学习ing
    框架
    前端
    python基础之数据类型-面向对象
    python四种列表的插入方法及其效率
    Charles高阶操作
  • 原文地址:https://www.cnblogs.com/mo-cha/p/6022057.html
Copyright © 2020-2023  润新知