模拟黑客红客防御攻击界面效果代码

代码语言:html

所属分类:布局界面

代码描述:模拟黑客红客防御攻击界面效果代码

代码标签: 防御 攻击 界面 效果

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开


<!DOCTYPE html>
<html lang="en" >

<head>

  <meta charset="UTF-8">

  
  
  
<style>
* {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}

body {
	margin:0;
	background:#000;
	color:#666;
	font-family:Arial, Helvetica, sans-serif;
	overflow:hidden;
	height: 500px;
}
div {
	position:absolute;
}
#container {
	height:300px;
	width:400px;
	margin-top:-150px;
	margin-left:-200px;
	top:50%; left:50%;
	border:1px solid #666;
	-webkit-perspective:700;
	-moz-perspective:700px;
	-webkit-animation:start 1s linear;
	overflow:hidden;
}
@-webkit-keyframes start {
	from {-webkit-transform:scale(0);}
	to   {-webkit-transform:scale(1);}
}
#a1 {
	top:4px; left:20px;
	height:4px;
	width:70px;
	border:1px dotted #666;
}
#a11 {
	left:0; top:0;
	height:100%;
	background:#666;
	-webkit-animation:a11 4s ease-in-out infinite;
	-moz-animation:a11 4s ease-in-out infinite;
}
@-webkit-keyframes a11 {
	from {width:70%;}
	10%  {width:20%;}
	20%  {width:90%;}
	30%  {width:60%;}
	40%  {width:100%;}
	50%  {width:10%;}
	60%  {width:30%;}
	70%  {width:20%;}
	80%  {width:50%;}
	90%  {width:10%;}
	to   {width:70%;}										
}
@-moz-keyframes a11 {
	from {width:70%;}
	10%  {width:20%;}
	20%  {width:90%;}
	30%  {width:60%;}
	40%  {width:100%;}
	50%  {width:10%;}
	60%  {width:30%;}
	70%  {width:20%;}
	80%  {width:50%;}
	90%  {width:10%;}
	to   {width:70%;}										
}
#a2 {
	top:18px; left:50px;
	height:30px;
	width:30px;
	border-radius:50%;
	border:1px dashed #666;
}
#a21 {
	top:8px; left:13px;
	height:14px;
	width:4px;
	background:#333;
	border-radius:3px;
	-webkit-animation:a21 8s linear infinite;
	-moz-animation:a21 8s linear infinite;
}
@-webkit-keyframes a21 {
	from {-webkit-transform:rotateZ(0deg) translateY(50%);}
	to   {-webkit-transform:rotateZ(360deg) translateY(50%);}
}
@-moz-keyframes a21 {
	from {-moz-transform:rotateZ(0deg) translateY(50%);}
	to   {-moz-transform:rotateZ(360deg) translateY(50%);}
}
#a3 {
	top:20px; left:20px;
	height:200px;
	width:20px;
	font-size:50%;
}
#a3 span {
	display:block;
	margin-bottom:10px;
	text-shadow:0 0 1px #666;
}
@-webkit-keyframes a3 {
	from {opacity:0;}
	50%  {opacity:1;}
	to   {opacity:0;}
}
@-moz-keyframes a3 {
	from {opacity:0;}
	50%  {opacity:1;}
	to   {opacity:0;}
}
#a4 {
	top:60px;
	height:150px;
	width:14px;
}
#a4 span {
	display:block;
	height:2px;
	width:100%;
	background:#666;
	margin-bottom:3px;
}
#a5 {
	height:30px;
	width:400px;
	bottom:0;
	overflow:hidden;
	border-top:1px solid #666;
}
#a5 span {
	display:block;
	position:relative;
	float:left;
	height:30px;
	width:24px;
	border-right:1px solid #666;
}
#a5 span:first-child {
	margin-left:12px;
	border-left:1px solid #666;
}
#a5 span b {
	position:absolute;
	top:2px; left:2px; right:2px; bottom:2px;
	background:#666;
	opacity:0;
	-webkit-animation:a4 2s linear infinite;
	-moz-animation:a4 2s linear infinite;
}
@-webkit-keyframes a4 {
	from {opacity:0;}
	50%  {opacity:1;}
	to   {opacity:0;}
}

@-moz-keyframes a4 {
	from {opacity:0;}
	50%  {opacity:1;}
	to   {opacity:0;}
}
#a6 {
	text-transform:uppercase;
	left:90px; top:0;
	width:220px;
	padding:2px 0 2px 0;
	font-size:75%;
	text-align:center;
}
#a7 {
	top:5px;
	right:10px;
	width:80px;
	text-align:right;
}
#a7 span {
	display:block;
}
#a7 span b {
	font-weight:normal;
	margin-left:-4px;
	text-shadow:0 0 1px #666;
}
#a71 {font-size:40%;}
#a72 {font-size:50%;}
#a73 {font-size:100%;}
#a74 {font-size:80%;}
#a75 {font-size:50%;}
#a76 {font-size:40%;}

#a8 {
	top:80px; right:7px;
	height:160px;
	width:50px;
	border-bottom:2px solid #666;
}
#a8 span {
	display:block;
	margin-left:10%;
	width:80%;
	height:1px;
	background:#666;
	margin-bottom:3px;
}
#a81 {
	top:0;
	width:100%;
	background:#000;
	-webkit-animation:a81 2s ease-in-out infinite;
	-moz-animation:a81 2s ease-in-out infinite;
}
@-webkit-keyframes a81 {
	from {height:0;}
	20%  {height:50px;}
	40%  {height:10px;}
	60%  {height:120px;}
	80%  {height:70px;}
	to   {height:0;}
}
@-moz-keyframes a81 {
	from {height:0;}
	20%  {height:50px;}
	40%  {height:10px;}
	60%  {height:120px;}
	80%  {height:70px;}
	to   {height:0;}
}
#a9 {
	bottom:37px;
	right:7px;
	font-size:80%;
	text-align:right;
	text-shadow:0 0 1px #666;
}
#a9 span {
	margin-left:-4px;
}
#a10 {
	width:200px;
	bottom:56px;
	right:70px;
	font-size:40%;
	text-align:right;
}
#a10 span {
	position:absolute;
	top:1px;
	height:60%;
	width:100px;
	background:#666;
	right:60px;
	-webkit-animation:a10 2s ease-in-out infinite;
	-moz-animation:a10 2s ease-in-out infinite;
}
@-webkit-keyframes a10 {
	from {width:100px;}
	20%  {width:10px;}
	40%  {width:140px;}
	60%  {width:50px;}
	80%  {width:120px;}
	to   {width:100px;}
}
@-moz-keyframes a10 {
	from {width:100px;}
	20%  {width:10px;}
	40%  {width:140px;}
	60%  {width:50px;}
	80%  {width:120px;}
	to   {width:100px;}
}
#b1 {
	bottom:32px;
	width:100px;
	height:50px;
	left:10px;
}
#b1 span {
	position:absolute;
	bottom:0;
	height:50px;
	width:7px;
	background:#666;	
}
.b110 {right:5px; -webkit-animation:b1 1s ease-in-out infinite; -moz-animation:b1 1s ease-in-out infinite;}
.b19 {right:15px; -webkit-animation:b1 2s ease-in-out infinite; -moz-animation:b1 2s ease-in-out infinite;}
.b18 {right:25px; -webkit-animation:b1 1.5s ease-in-out infinite; -moz-animation:b1 1.5s ease-in-out infinite;}
.b17 {right:35px; -webkit-animation:b1 1.8s ease-in-out infinite; -moz-animation:b1 1.8s ease-in-out infinite;}
.b16 {right:45px; -webkit-animation:b1 1.1s ease-in-out infinite; -moz-animation:b1 1.1s ease-in-out infinite;}
.b15 {right:55px; -webkit-animation:b1 1.7s ease-in-out infinite; -moz-animation:b1 1.7s ease-in-out infinite;}
.b14 {right:65px; -webkit-animation:b1 1.2s ease-in-out infinite; -moz-animation:b1 1.2s ease-in-out infinite;}
.b13 {right:75px; -webkit-animation:b1 1.6s ease-in-out infinite; -moz-animation:b1 1.6s ease-in-out infinite;}
.b12 {right:85px; -webkit-animation:b1 1.3s ease-in-out infinite; -moz-animation:b1 1.3s ease-in-out infinite;}
.b11 {right:95px; -webkit-animation:b1 2s ease-in-out infinite; -moz-animation:b1 2s ease-in-out infinite;}

@-webkit-keyframes b1 {
	from {height:50px;}
	20%  {height:10px;}
	40%  {height:30px;}
	60%  {height:5px;}
	80%  {height:20px;}
	to   {height:50px;}				
}
@-moz-keyframes b1 {
	from {height:50px;}
	20%  {height:10px;}
	40%  {height:30px;}
	60%  {height:5px;}
	80%  {height:20px;}
	to   {height:50px;}				
}
#figure {
	top:40px; left:130px;
	height:170px;
	width:170px;
	border-radius:5px;
	-webkit-transform:rotateY(-30deg) rotateX(10deg);
	-webkit-transform-style:preserve-3d;
	-webkit-animation:figure 8s ease-in-out infinite;
	-moz-transform:rotateY(-30deg) rotateX(10deg);
	-moz-transform-style:preserve-3d;
	-moz-animation:figure 8s ease-in-out infinite;	
}
@-webkit-keyframes figure {
	from {-webkit-transform:rotateY(-30deg) rotateX(30deg);}
	20%  {-webkit-transform:rotateY(30deg) rotateX(30deg);}
	40%  {-webkit-transform:rotateY(30deg) rotateX(-30deg);}
	60%  {-webkit-transform:rotateY(-10deg) rotateX(30deg);}
	80%  {-webkit-transform:rotateY(30deg) rotateX(-10deg);}
	to   {-webkit-transform:rotateY(-30deg) rotateX(30deg);}
}
@-moz-keyframes figure {
	from {-moz-transform:rotateY(-30deg) rotateX(30deg);}
	20%  {-moz-transform:rotateY(30deg) rotateX(30deg);}
	40%  {-moz-transform:rotateY(30deg) rotateX(-30deg);}
	60%  {-moz-transform:rotateY(-10deg) rotateX(30deg);}
	80%  {-moz-transform:rotateY(30deg) rotateX(-10deg);}
	to   {-moz-transform:rotateY(-30deg) rotateX(30deg);}
}
#figure #a7 {
	left:-100px; top:20px;
	color:#03F;
	-webkit-transform:scale(0.7);
	-webkit-animation:fa7 2s ease-in-out infinite;
}
@-webkit-keyframes fa7 {
	from {color:#03F;}
	25%  {color:#00C;}
	50%  {color:#0CF;}
	75%  {color:#03C;}
	to   {color:#03F;}
}
#figure div, #figure span {
	-webkit-transform-style:preserve-3d;
}
#f1 {
	left:-2px; top:-2px;
	height:170px;
	width:170px;
	border-radius:50%;
	border-width:2px;
	border-style:solid;
	box-shadow:0 0 5px #006;	
	-webkit-animation:f1 4s ease-in-out infinite;
}
@-webkit-keyframes f1 {
	from {-webkit-transform:rotateZ(0deg); opacity:1.0; border-color:#006;}
	10%  {-webkit-transform:rotateZ(30deg); opacity:1.0; border-color:#06F;}
	20%  {-webkit-transform:rotateZ(-30deg); opacity:0; border-color:#006;}
	30%  {-webkit-transform:rotateZ(0deg); opacity:1.0; border-color:#00C;}
	40%  {-webkit-transform:rotateZ(-60deg); opacity:1.0; border-color:#006;}
	50%  {-webkit-transform:rotateZ(-40deg); opacity:1.0; border-color:#03F;}
	60%  {-webkit-transform:rotateZ(-100deg); opacity:0; border-color:#03C;}
	70%  {-webkit-transform:rotateZ(-150deg); opacity:1.0; border-color:#006;}
	80%  {-webkit-transform:rotateZ(100deg); opacity:0; border-color:#006;}
	90%  {-webkit-transform:rotateZ(30deg); opacity:1.0; border-color:#099;}
	to   {-webkit-transform:rotateZ(0deg); opacity:1.0; border-color:#006;}
}
#f1 span {
	display:block;
	position:absolute;
	top:50%; left:50%;
	margin-top:-5px;
	height:10px;
	width:3px;
	background:#006;
	box-shadow:0 0 5px #006;
	-webkit-animation:f1div 4s ease-in-out infinite;
}
@-webkit-keyframes f1div {
	from {background:#006;}
	10%  {background:#06F;}
	20%  {background:#006;}
	30%  {background:#00C;}
	40%  {background:#006;}
	50%  {background:#03F;}
	60%  {background:#03C;}
	70%  {background:#006;}
	80%  {background:#006;}
	90%  {background:#099;}
	to   {background:#006;}
}


#f2 {
	height:170px;
	width:170px;
	-webkit-animation:f2 20s linear infinite;
}
@-webkit-keyframes f2 {
	from {-webkit-transform:translateZ(-5px) rotateZ(0deg);}
	to   {-webkit-transform:translateZ(-5px) rotateZ(360deg);}
}
#f2 span {
	display:block;
	position:absolute;
	top:50%; left:50%;
	margin-top:-3px;
	height:6px;
	width:2px;
	background:#666;
}
#f3 {
	top:10px; left:10px;
	height:130px;
	width:130px;
	border-radius:50%;
	border-width:10px;
	border-style:solid;
	border-color:#03C;
	box-shadow:0 0 5px #03C;
	-webkit-transform:translateZ(10px);
	-webkit-animation:f3 6s ease-in-out infinite;
}
@-webkit-keyframes f3 {
	from {-webkit-transform:translateZ(10px) rotateZ(0deg); border-color:#03C; opacity:1.0;}
	10%  {-webkit-transform:translateZ(10px) rotateZ(-80deg); border-color:#009; opacity:1.0;}
	20%  {-webkit-transform:translateZ(10px) rotateZ(-60deg); border-color:#03C; opacity:0;}
	30%  {-webkit-transform:translateZ(10px) rotateZ(-200deg); border-color:#009; opacity:1.0;}
	40%  {-webkit-transform:translateZ(10px) rotateZ(-210deg); border-color:#00F; opacity:1.0;}
	50%  {-webkit-transform:translateZ(10px) rotateZ(-120deg); border-color:#069; opacity:1.0;}
	60%  {-webkit-transform:translateZ(10px) rotateZ(-100deg); border-color:#03C; opacity:1.0;}
	70%  {-webkit-transform:translateZ(10px) rotateZ(-30deg); border-color:#03C; opacity:1.0;}
	80%  {-webkit-transform:translateZ(10px) rotateZ(0deg); border-color:#003; opacity:0;}
	90%  {-webkit-transform:translateZ(10px) rotateZ(90deg); border-color:#03C; opacity:1.0;}
	to   {-webkit-transform:translateZ(10px) rotateZ(0deg); border-color:#03C; opacity:1.0;}	
}
#f31 {
	width:40px;
	background:#000;
	top:-13px; left:45px;
	bottom:-13px;
}
#f31 span {
	left:12px;
	position:absolute;
	display:block;
	border:1px solid #03C;
	height:14px;
	width:14px;
	border-radius:100%;
	-webkit-transform:translateZ(2px);
}
.f312 {
	bottom:0;
}
#f31 span b {
	top:3px; left:3px;
	position:absolute;
	height:8px;
	width:8px;
	background:#03C;
	border-radius:100%;
	-webkit-animation:f31span 2s ease-in-out infinite;
}
@-webkit-keyframes f31span {
	from {background:#03C; opacity:1;}
	25%  {background:#039; opacity:0;}
	50%  {background:#0CC; opacity:1;}
	75%  {background:#039; opacity:0;}
	to   {background:#03C; opacity:1;}
}
#f32 {
	height:40px;
	background:#000;
	top:45px; left:-15px;
	right:-15px;
}
#f32 span {
	position:absolute;
	display:block;
	border:1px solid #009;
	border-radius:50%;
	height:6px;
	width:6px;
	top:15px;
	-webkit-transform:translateZ(2px);
}
.f321 {
	left:6px;
}
.f322 {
	right:6px;
}
#f33 {
	width:2px;
	background:#000;
	top:-10px; left:64px;
	bottom:-10px;
	-webkit-transform:translateZ(1px) rotateZ(45deg);
}
#f34 {
	width:2px;
	background:#000;
	top:-10px; left:64px;
	bottom:-10px;
	-webkit-t.........完整代码请登录后点击上方下载按钮下载查看

网友评论0