Home > Web Front-end > HTML Tutorial > Picture css to realize translucent boot page_html/css_WEB-ITnose

Picture css to realize translucent boot page_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:49:13
Original
2487 people have browsed it

First the rendering:

css:

.ydy{	width:100%;	height:100%;	overflow:hidden;	background-color:#000000;	filter:alpha(opacity=80);	-moz-opacity:0.6;	-khtml-opacity:0.6;	opacity:0.6;	position:absolute;	top:0px;	z-index:9999px;}.ydy img{	width:100%;}
Copy after login

Just one div on the html page:

<body style="background: #F5F5F5;">	<div id="ydy" class="ydy"><img src="../img/ydypic.png"></div>	<H2>这是一个测试页面</H2></body>
Copy after login

Adding a transparent image can realize the functions of user guidance page, such as new version feature introduction, user guidance and other functions!



My personal blog: http://blog.caicongyang.com;

My personal website: http://www.caicongyang.com;

My CSDN blog address:


source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template