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
WBOYOriginal
2016-06-24 11:49:132494browse

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%;}

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>

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:


Statement:
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