css实现滑动滑竿调节吊灯亮度效果代码
代码语言:html
所属分类:其他
代码描述:css实现滑动滑竿调节吊灯亮度效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
body {
box-sizing: border-box;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
background-color: #000000;
overflow: hidden;
width: 100vw;
height: 100vh;
}
.lamp-wrapper-main {
position: relative;
width: 100%;
justify-content: center;
display: flex;
}
.lamp-rope {
position: absolute;
width: 8px;
height: 1200px;
background: #fff;
bottom: 100%;
margin: auto;
}
.lamp-inner {
position: relative;
width: 140px;
height: 100px;
z-index: 2;
}
.lamp-main {
background-color: #fff;
transform: s.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0