您的位置:首页 - 教程 - 网页特效 - 正文
猴年春节对联CSS特效
效果预览:http://hovertree.com/texiao/css/20/

代码:<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>猴年春节对联 - 何问起</title><base target="_blank" />
<meta charset="utf-8" />
<style>
#duiliantop{
position: absolute;
background: url(http://hovertree.com/texiao/css/20/images/o_top.jpg);
background-repeat:no-repeat;
width: 1024px;
height:510px;
top: 0px;
left: 0px;
right:0px;
background-size: 100% 100%;
margin:0px auto;
}

#duilianleft{
position: fixed;
background: url(http://hovertree.com/texiao/css/20/images/hewenqileft.png);
background-repeat:no-repeat;
width: 200px;
width: 200px;
height: 550px;
left: 10px;
top: 25px;
z-index: 18;
}

#duilianright{
position: fixed;
background: url(http://hovertree.com/texiao/css/20/images/hewenqiright.png);
background-repeat:no-repeat;
width: 200px;
height: 550px;
right: 10px;
top: 25px;
z-index: 18;
}#hewenqiinfo{
width:100%;text-align:center;position:fixed;bottom:10px;
}#hewenqiinfo a{color:deeppink;text-decoration:none}
#hewenqiinfo a:hover{color:yellowgreen;}
</style>
</head>
<body>
<div id="duiliantop"></div>
<div id="duilianleft"></div>
<div id="duilianright"></div>
<div id="hewenqiinfo"> <a href="http://hovertree.com/">首页</a> <a href="http://hovertree.com/texiao/">特效</a> <a href="http://hovertree.com/h/bjaf/vpymcfwh.htm">原文</a></div>
</body>
</html>

评论: