div+css布局实现黑暗光线中的钢铁侠效果代码
代码语言:html
所属分类:布局界面
代码描述:div+css布局实现黑暗光线中的钢铁侠效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
html {
background: black;
}
.container {
width: 400px;
height: 400px;
background: #000;
position: absolute;
left: 50%;
top: 50%;
margin-left: -200px;
margin-top: -200px;
}
.lefteye {
position: absolute;
top: 170px;
left: 105px;
width: 45px;
height: 5px;
box-shadow: 0 0 15px 4px #40bdeb;
transform: rotateZ(20deg);
background: white;
}
.righteye {
position: absolute;
top: 170px;
left: 210px;
width: 45px;
height: 5px;
box-shadow: 0 0 15px 4px #40bdeb;
transform: rotateZ(-20deg);
background: white;
}
.fore {
position: absolute;
top: 0px;
left: 75px;
wi.........完整代码请登录后点击上方下载按钮下载查看
网友评论0