Pop-up mask, meta content meaning_html/css_WEB-ITnose
<span style="font-size:12px;"><meta http-equiv="Content-Type"content="text/html; charset=utf-8">//编码<meta id="viewport"name="viewport"content="width=320; initial-scale=1.0;maximum-scale=1.0; user-scalable=no;"/> <meta name=”apple-mobile-web-app-capable” content=”yes” />// 离线应用的另一个技巧 <meta name=”apple-mobile-web-app-status-bar-style” content=black” />// 隐藏状态栏 <meta content="black"name="apple-mobile-web-app-status-bar-style"/>//指定的iphone中safari顶端的状态条的样式 <meta content="telephone=no"name="format-detection"/>//告诉设备忽略将页面中的数字识别为电话号码<style media="all and (orientation:portrait)"type="text/css">#landscape { display: none; }</style>//竖屏时使用的样式<style media="all and (orientation:landscape)"type="text/css">#portrait { display: none; }</style>//横屏时使用的样式</span>
Rendering:
html:
The principle is Add a hidden DIV layer with id="brg" and a width and height of 100% on the masked layer. This layer will be displayed when a button is clicked, so that the masked layer cannot be clicked and the focus is lost. Set the Z-axis position of the popped-up layer (determination window): Z-INDEX is the highest.
<span style="font-size:12px;"><div id="brg"></div><div id="showdiv"><div class="btn"><a href="#" id="close"><span >取消</span></span></a></div></div><a href="#" id="lay"><span>确定</span></a></span>
#brg{width:100%; height:100%;filter:alpha(opacity=60); -moz-opacity:0.6; opacity: 0.6; display:none;}#showdiv{z-index:20; display:none; }
2014-8-19: New Mask layer implementation: compatible with ie6:
<div id="brg"></div><div class="vip_none"><div class="close_btn"><a href="javascript:void(0)" id="close_btn"><img src="images/close_btn.png" height="23" width="23"></a></div><p>VIP充值尚未开放<br><br> 敬请期待~</p></div>
*html { background: url(*) fixed; }body { _background: url(about:blank) fixed;}.vip_none{width: 400px;height: 250px;background:#fff;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius: 7px; z-index: 1002; display: none; position:absolute; top: 30%; left: 38%; overflow: auto; }.close_btn{height: 40px;background: #f2f2f2; -webkit-border-radius:7px 7px 0 0; -moz-border-radius:7px 7px 0 0; border-radius:7px 7px 0 0; -webkit-box-shadow: 0 1px #e0dfdf; -moz-box-shadow: 0 1px #e0dfdf; box-shadow: 0 1px #e0dfdf; margin: 1px 1px 0 1px;}.close_btn img{ float: right; margin-top: 8px; margin-right: 8px; border:0;}.vip_none p{ font-size: 32px; color: #505050; -webkit-text-shadow: 1px 0px #bbbbbb; -moz-text-shadow: 1px 0px #bbbbbb; text-shadow: 1px 0px #bbbbbb; text-align: center; margin-top: 60px; }#brg{ overflow: hidden; width:100%; height:100%; background:#ccc; position:fixed; top:0; left:0; filter:alpha(opacity=60); -moz-opacity:0.6; opacity: 0.6; display:none; z-index:1000; _position:absolute; _height:6100px; _width:2000px; _left:0; _top:0;}

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



The article discusses the HTML <datalist> element, which enhances forms by providing autocomplete suggestions, improving user experience and reducing errors.Character count: 159

The article discusses the HTML <progress> element, its purpose, styling, and differences from the <meter> element. The main focus is on using <progress> for task completion and <meter> for stati

The article discusses the HTML <meter> element, used for displaying scalar or fractional values within a range, and its common applications in web development. It differentiates <meter> from <progress> and ex

The article discusses the viewport meta tag, essential for responsive web design on mobile devices. It explains how proper use ensures optimal content scaling and user interaction, while misuse can lead to design and accessibility issues.

The article discusses the <iframe> tag's purpose in embedding external content into webpages, its common uses, security risks, and alternatives like object tags and APIs.

This article explains the HTML5 <time> element for semantic date/time representation. It emphasizes the importance of the datetime attribute for machine readability (ISO 8601 format) alongside human-readable text, boosting accessibilit

The article discusses using HTML5 form validation attributes like required, pattern, min, max, and length limits to validate user input directly in the browser.

Article discusses best practices for ensuring HTML5 cross-browser compatibility, focusing on feature detection, progressive enhancement, and testing methods.
