div+css布局实现流血的插头插座效果代码

代码语言:html

所属分类:布局界面

代码描述:div+css布局实现流血的插头插座效果代码

代码标签: div css 布局 流血 插头 插座

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

<!DOCTYPE html>
<html lang="en" >
<head>
  <meta charset="UTF-8">

<style>
    body{
    margin: 0px;
    background: rgb(247,237,215);
}
.container{
    position: relative;
    max-width: 600px;
    width: 100%;
    margin: 0px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}
.inner_container{
    position: relative;
    width: 400px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bandage{
    position: relative;
    width: 250px;
    height: 67px;
    background: rgb(222,193,162);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.inner_bandage{
    position: relative;
    width: 100px;
    height: 45px;
    background: rgb(229,204,178);
    border-radius: 14px;
    box-shadow: 0px 0px 4px #0000007a;
}
.eye{
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgb(109,85,61);
    border-radius: 50%;
    top: 11px;
}
.e1{
    left: 23px;
}
.e2{
    left: 66px;
}
.mouth{
    position: absolute;
    width: 31px;
    height: 4px;
    background: rgb(109,85,61);
    border-radius: 50.........完整代码请登录后点击上方下载按钮下载查看

网友评论0