--------------信息展示弹出框----------------
<style>
.over{background-color: rgba(0, 0, 0, 0.7);display: block;height: 100%;left: 0;position: fixed;top: 0;width: 100%;z-index: 998;}
.alert{display: block;left: 50%;position: fixed;top: 50%;transform: translateX(-50%) translateY(-50%);width: 702px;z-index: 999;}
.title{background-color: #f54c53;border-radius: 10px 10px 0 0;color: #fff;font-size: 34px;line-height: 110px;padding-left: 30px;}
.close{display: block;height: 36px;position: absolute;right: 30px;top: 0;width: 80px;}
.content{background-color: #fff;border-radius: 0 0 10px 10px;color: #747474;font-size: 22px;padding: 30px;}
.important{color: #f54c53;}
</style>
<div class="over"></div>
<div class="alert">
<h2 class="title">
<span>什么是英美次卡?</span>
<a href="javascript:;" class="close">取消</a>
</h2>
<div class="content">
<p><span class="important">• 英美次卡学习套餐优势:</span>每天可以随意预约多节课,没有限制,可以一次性预约未来期间内的多节课。有效期为上课次数的1.5倍,可以随意请假</p>
<p><span class="important">• 英美次卡学习套餐适合以下用户:</span>想体验地道的英美文化,学习原汁原味的英美发音</p>
<p><span class="important">约课须知:</span></p>
<p>
1、上午10点-晚上11点均可上课,需提前30分钟预约课程。 <br>
2、提前1小时取消预约课程。<br>
3、一天能随意预约多次课,可以一次性预约未来的多节课.
</p>
</div>
</div>



---------------选择弹出框------------------
<style>
.over{background-color: rgba(0, 0, 0, 0.7);display: none;height: 100%;left: 0;position: fixed;top: 0;width: 100%;z-index: 998;}
.g-pop-1 {position: fixed;top: 50%;left: 50%;width: 7.02rem;z-index: 999;}
.g-pop-1 .tit {padding-left: .3rem;line-height: 1.1rem;font-size: .34rem;background-color: #f54c53;color: #fff;border-radius: 10px 10px 0 0;}
.g-pop-1 .txt {padding: .3rem;font-size: .22rem;color: #747474;border-radius: 0 0 10px 10px;text-align: center;}
.pop-confirm .g-btn-2 {width: 2.8rem;}
.g-btn-2.btn-orange {background-color: #f54c53;}
.g-btn-2 {width: 3.4rem;height: 1rem;font-size: .32rem;line-height: 1rem;display: inline-block;border-radius: 10px;color: #fff;border: none;outline: none;text-align: center;}
.pop-confirm .btn-gray {float: right;background-color: #d5d5d5;height: 1rem;font-size: .32rem;line-height: 1rem;}
</style>
<div class="over"></div>
<div class="g-pop-1 pop-confirm alert_confirm" style="display: block;">
<h2 class="tit">
<span>选择进入</span>
</h2>
<div class="txt">
<a href="javascript:;" class="g-btn-2 btn-orange a-confirm select_k12_jason" value="2">标准课程</a>
<a href="javascript:;" class="g-btn-2 btn-gray a-cancel select_k12_jason" value="1"> K12课程</a>
</div>
</div>

div 模拟alert弹出框的更多相关文章

  1. 系统默认的alert弹出框总会带有域名

    最近在开发Hybrid APP时发现用系统默认的alert弹出框总会带有域名,用户体验就比较不好了.想了一种办法来解决就是覆盖alert的方法. (function(){       window.a ...

  2. Alert弹出框处理

    selenium的API提供了Alert类对alert弹出框的处理的方法,涉及到的方法有text,dismiss(),accept()和send_keys(),在javascript中主要有alert ...

  3. 清除ios系统alert弹出框的域名

    清除ios系统alert弹出框的域名 <script> window.alert = function(name) { var iframe = document.createElemen ...

  4. 怎么让alert弹出框的内容可以换行?

    在要点击弹出的地方输入这样的代码: alert("文本框中共有字母a的个数为:"+num+"\n"+"他们在字符串的索引为:"+ind) 就 ...

  5. selenium处理alert弹出框

    import time from selenium import webdriver driver =webdriver.Chrome(r"D:\工具包\chromedriver.exe&q ...

  6. 制作鼠标移动到div上面显示弹出框

    <div class="show-dialog hide"> <header> <div class="note"> < ...

  7. 计算alert弹出框的次数

    (function() { var oldAlert = window.alert, count = 0; window.alert = function(a) { count++; oldAlert ...

  8. updatepanel中使用alert弹出框方法

    原文发布时间为:2009-05-17 -- 来源于本人的百度文章 [由搬家工具导入]         ScriptManager.RegisterStartupScript(this.UpdatePa ...

  9. alert弹出框 弹出窗口 ----sweetAlert

    推荐一款好用的alert,下面地址是demo,很直观的看到效果,wap可以使用 http://www.dglives.com/demo/sweetalert-master/example/   < ...

随机推荐

  1. 用好idea这几款插件,可以帮你少写30%的代码

    Easycode是idea的一个插件,可以直接对数据的表生成entity,controller,service,dao,mapper,无需任何编码,简单而强大. 1.安装(EasyCode) 我这里的 ...

  2. noip模拟6[辣鸡·模板·大佬·宝藏]

    这怕不是学长出的题吧 这题就很迷 这第一题吧,正解竟然是O(n2)的,我这是快气死了,考场上一直觉得aaaaa n2过不了过不了, 我就去枚举边了,然后调了两个小时,愣是没调出来,然后交了个暴力,就走 ...

  3. 服务器硬件及RAID配置实战

    一.RAID磁盘阵列介绍 二.阵列卡介绍 三.阵列卡的缓存 四.实验构建软RAID磁盘阵列 一.RAID磁盘阵列介绍 1.定义 是Redundant Array of Independent Disk ...

  4. python读取json文件制作股票价格走势

  5. error C3646: 未知重写说明符

    记录一个报错 error C3646: 未知重写说明符 ①循环引用 在项目文件变多时,由于组织不当,很容易出现头文件的循环引用 有时候虽然没有出现循环引用,但是头文件多处被include :适当的使用 ...

  6. Jenkins自动化CI&CD流水线

    1 环境说明 主机名称 IP cpu核数/内存/硬盘 安装软件 用途 controlnode 172.16.1.120 2/2/60 git 代码仓库 slavenode1 172.16.1.121 ...

  7. mapboxgl 互联网地图纠偏插件(二)

    前段时间写的mapboxgl 互联网地图纠偏插件(一)存在地图旋转时瓦片错位的问题. 这次没有再跟 mapboxgl 的变换矩阵较劲,而是另辟蹊径使用 mapboxgl 的自定义图层,重新写了一套加载 ...

  8. layui动态创建Tab、Tab右键功能

      1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 & ...

  9. Java高质量面试总结

    面试 一般都是由浅到深去问,思路是: 先考察基础是否过关,因为基础知识决定了一个技术人员发展的上限 再通过深度考察是否有技术热情和深度以及技术的广度 同时可能会提出一些质疑和挑战来考察候选人能否与有不 ...

  10. 如何使用Jdk查看源码?

    先看再点赞,给自己一点思考的时间,如果对自己有帮助,微信搜索[程序职场]关注这个执着的职场程序员.我有什么:职场规划指导,技能提升方法,讲不完的职场故事,个人成长经验. 最近,有很多读者问我,有没有j ...