.music{
width: 550px;
height: 120px;
background: rgb(10, 0, 0);
position: relative;
left: 0;
margin-left: 0;
bottom: -7px;
opacity: 0.8;
box-shadow: 15px 10px 10px 1px #8c8f82;
}
把position:relative
r然后animate
中的left,top
才能生效
$(".music").animate(
{ left: '-400px' }, 100);