vue - 锐客网 #bag{
width: 200px;
height: 500px;
margin: 0 auto;
background: url("Lesson-13/Lesson-13/img/bag.png");
}
#bag.burst{
background: url("Lesson-13/Lesson-13/img/bag-burst.png");
}
#bag-health{
width: 200px;
border: 2px #000 solid;
margin: 20px auto 20px auto;
}
#bag-health div{
height:20px;
background: crimson;
}
#controls{
width: 200px;
margin: 0 auto;
}
#controls button{
margin-left: 20px;
}