红绿灯
<style type="text/css">
ul{
width: 500px;
display: flex;
justify-content: space-around;
background-color: #333;
border-radius: 70px;
}
li{
list-style: none;
width: 50px;
height: 50px;
border-radius: 50%;
opacity: .1;
}
ul li:last-child{
opacity: 1;
background-color: #eee;
line-height: 50px;
text-align: center;
}
#green{
background: green;
}
#y