zoukankan      html  css  js  c++  java
  • 可消失的弹出框

    通过使用 focus 触发器可以在用户点击弹出框是让其消失。

    实现“点击并让弹出框消失”的效果需要一些额外的代码

    为了更好的跨浏览器和跨平台效果,你必须使用 <a> 标签,不能使用 <button> 标签,并且,还必须包含 tabindex 属性。

    <a tabindex="0" class="btn btn-lg btn-danger" role="button" data-toggle="popover" data-trigger="focus" title="Dismissible popover" data-content="And here's some amazing content. It's very engaging. Right?">可消失的弹出框</a>

  • 相关阅读:
    CSS切割
    一台电脑 多个 tomcat
    CGI
    电源关系
    Monkey Test 命令使用
    html ul
    java 反射
    RTMP
    动态库
    flash 大文件上传
  • 原文地址:https://www.cnblogs.com/dengxinxia/p/7079653.html
Copyright © 2011-2022 走看看