CSS3仿携程旅行网404页面代码

版权:原创 更新时间:1年以上
[该文章底部包含文件资源,可根据自己情况,决定是否下载资源使用,时间>金钱,如有需要,立即查看资源]

以下是 CSS3仿携程旅行网404页面代码 的示例演示效果:

当前平台(PC电脑)
  • 平台:

部分效果截图:

CSS3仿携程旅行网404页面代码

HTML代码(index.html):

<html>
<head>
<meta charset="gb2312">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="robots" content="noindex, nofollow">
<title>CSS3仿携程旅行网404页面代码 </title>

<style type="text/css">
html,body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,em,button{margin:0;padding:0;}
body{font-size:12px;font-family:Simsun,sans-serif;color:#333;}
img,fieldset{border:0 none}
input,textarea{font-size:12px;}
textarea{resize:none;}
table{border-collapse:collapse;border-spacing:0;}
a{color:#003d7e;text-decoration:none;}
a:hover{text-decoration:underline;}
h1,h2,h3,h4,h5,h6{font-family:"Times New Roman",Simsun;}
ul,ol,li{list-style:none outside none;}
dfn{font-style:normal;}

.content,.errorinfo,#footer{width:800px;}
.logo,.tower,.cruise{background:url(images/un_pic.png) no-repeat;}
.wrap{background:#1158e7 url(images/404_bg.jpg) no-repeat center bottom;width:100%;overflow:hidden;}
.content{position:relative;z-index:1;height:480px;margin:0 auto;padding-top:100px;}
.logo{ position: relative;z-index:5; width:144px;height:54px;margin:0 auto;overflow:hidden;text-indent:-500px;background-position:0 0;}
.errorinfo{color:#fff;display:block;font-family:"microsoft yahei","simhei",sans-serif;font-size:24px;font-weight:normal;text-align:center;margin:30px auto;padding:0;}
a.goback{display:block;position: relative;z-index: 4; width:112px;margin:20px auto;padding:8px 0;color:#fff;font-family:"microsoft yahei","simhei",sans-serif;font-size:16px;text-align:center;text-decoration:none;background-color:#0f4dc5;}
a.goback:hover{background-color:#3f92f0;}

.tower{background-position:0 -127px;position:absolute;z-index:2;top:140px;left:20px;width:116px;height:264px;}
.towerlight{position:absolute;z-index:1;left:52px;top:166px;width:52px;height:52px;background-color:#fefa90;box-shadow:0 0 50px rgba(255,248,74,1);-webkit-animation:3s linear 0s none infinite light;-moz-animation:3s linear 0s none infinite light;animation:3s linear 0s none infinite light;}
@-webkit-keyframes light{
	0%{box-shadow:0 0 50px rgba(255,254,165,1);}
	50%{box-shadow:0 0 10px rgba(255,248,74,1);}
	100%{box-shadow:0 0 50px rgba(255,254,165,1);}
}
@-moz-keyframes light{
	0%{box-shadow:0 0 50px rgba(255,254,165,1);}
	50%{box-shadow:0 0 10px rgba(255,248,74,1);}
	100%{box-shadow:0 0 50px rgba(255,254,165,1);}
}
@keyframes light{
	0%{box-shadow:0 0 50px rgba(255,254,165,1);}
	50%{box-shadow:0 0 10px rgba(255,248,74,1);}
	100%{box-shadow:0 0 50px rgba(255,254,165,1);}
}
.beam{position:absolute;z-index:3;left:-232px;top:75px;width:973px;height:198px;background:url(images/beam.png) no-repeat;-webkit-transform:rotate(15deg);transform:rotate(15deg);-webkit-transform-origin:308px 115px;transform-origin:308px 115px;-webkit-animation:10s linear 0s none infinite beam;-moz-animation:10s linear 0s none infinite beam;animation:10s linear 0s none infinite beam;}
@-webkit-keyframes beam{
	0%{ -webkit-transform:rotate(15deg);}
	50%{ -webkit-transform:rotate(65deg);}
	100%{ -webkit-transform:rotate(15deg);}
}
@keyframes beam{
	0%{transform:rotate(15deg);}
	50%{transform:rotate(65deg);}
	100%{transform:rotate(15deg);}
}
.wave1{position:relative;z-index:3;width:100%;margin-top:-220px;color:#999;background:url(images/bl.png) repeat-x 0 0;-webkit-animation:8s linear 0s none infinite tweenxx;-moz-animation:8s linear 0s none infinite tweenxx;animation:8s linear 0s none infinite tweenxx;}
.wave{height:220px;background:url(images/bl.png) repeat-x 330px 0;-webkit-animation:10s linear 0s none infinite tweenx;-moz-animation:10s linear 0s none infinite tweenx;animation:10s linear 0s none infinite tweenx;}
@-webkit-keyframes tweenx{
	0%{background-position:0 0;}
	100%{background-position:1600px 0;}
}
@-moz-keyframes tweenx{
	0%{background-position:0 0;}
	100%{background-position:1600px 0;}
}
@keyframes tweenx{
	0%{background-position:0 0;}
	100%{background-position:1600px 0;}
}
@-webkit-keyframes tweenxx{
	0%{background-position:0 0;}
	100%{background-position:-1600px 0;}
}
@-moz-keyframes tweenxx{
	0%{background-position:0 0;}
	100%{background-position:-1600px 0;}
}
@keyframes tweenxx{
	0%{background-position:0 0;}
	100%{background-position:-1600px 0;}
}
/*-----footer-----*/
#footer{margin:0 auto;
	text-align:center;color:#0053aa;font-family:arial;line-height:1.6;padding:8px 0 0 0;}
#footer a{color:#0053aa;}
.copyright{color:#333333;}
/*-----media-----*/
@media screen and (max-width:640px) {
	body{min-width:320px;}
	.content,.errorinfo,#footer{width:320px;}
	.content { height: 500px;padding-top: 20px;}
	.errorinfo{font-size: 18px;}
	.miscbox{position: relative;z-index: -1;height: 264px;width: 116px;margin: 0 auto;}
	.tower{left: 0;top: 0; }
	.towerlight {left: 32px;top: 30px;}
	.beam {left: -255px;top: -62px;}
	.wave1 {margin-top: -75px;}
}

</style>

</head>
<body>

<div class="wrap">
	<div class="content">
		<a href="#"><h1 class="logo">Ctrip</h1></a>
		
		<div class="errorinfo">
			<p>人在旅途,难免迷路,好在你有携程。</p>
			<a class="goback" href="#">返回首页</a>				
		</div>
		<div class="miscbox">
			<div class="tower"></div>
			<div class="towerlight"></div>
			<div class="beam"></div>
		</div>
	</div>
	<div class="wave1"><div class="wave"></div></div>
</div>
</body>
</html>









附件:下载该文件资源,减少时间成本(增值服务)
留言
该资源可下载
File Source
.rar
108.58 KB
Html CSS3特效
最新结算
jquery虚拟键盘中文打字效果js代码
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
jquery虚拟键盘中文打字效果js代码
类型: .rar 金额: CNY 0.29¥ 状态: 待结算 详细>
HTML5实现CSS滤镜图片切换特效代码
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
jQuery头像裁剪插件cropbox js代码
类型: .rar 金额: CNY 0.29¥ 状态: 待结算 详细>
jQuery头像裁剪插件cropbox js代码
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
CSS3制作3D图片立方体旋转特效
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
CSS3制作3D图片立方体旋转特效
类型: .rar 金额: CNY 0.29¥ 状态: 待结算 详细>
CSS3制作3D图片立方体旋转特效
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
CSS3制作3D图片立方体旋转特效
类型: .rar 金额: CNY 0.29¥ 状态: 待结算 详细>
jQuery+css3实现信封效果
类型: .rar 金额: CNY 0.29¥ 状态: 待结算 详细>
我们力求给您提供有用的文章,再此基础上,会附加营收资源,不做任何广告,让平台可以更好发展 若您发现您的权利被侵害,或使用了您的版权,请发邮件联系 sunlifel@foxmail.com ggbig觉得 : 不提供源码的文章不是好文章
合作伙伴
联系我们
  • QQ:21499807
  • 邮箱:sunlifel@foxmail.com
  • QQ扫一扫加QQ
    QQ扫一扫
Copyright 2023-2024 ggbig.com·皖ICP备2023004211号-1
打赏文章