电梯效果
效果图
具体代码
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style type="text/css">
*{
margin: 0;
padding: 0;
}
.box{
width: 800px;
height: 800px;
background: yellow;
color: #fff;
font-size: 100px;
text-align: center;
border-bottom:2px solid red ;
margin: 0 auto;
}
ul{
position: fixed;
top:200px;
left:200px;
width: 50px;
height: 500px;
border: 1px solid blue;
transition:1s all;
transform: scale(0);
}
li{
width