我定义了3个div , 里面有3个按钮, 然后都用的是绝对定位。但没想到里面的按钮消失不见了,只有最后一个里面还剩下按钮。
求大神指点
代码:
CSS:
.price_class{
position:absolute;
bottom:70rpx;
font-size: 30rpx;
color: red;
}
.button_class{
position:absolute;
bottom:10rpx;
background-color:#FF1493;
height:50rpx;
border-radius: 20rpx;
width:200rpx;
text-align: center;
}