模拟黑客红客防御攻击界面效果代码
代码语言: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% {.........完整代码请登录后点击上方下载按钮下载查看
网友评论0