首先 先给元素设置一个高度
.shareact {
width: 80%;
height:300px;
position: fixed;
background: #fff;
z-index: 999;
margin: auto;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
首先 先给元素设置一个高度
.shareact {
width: 80%;
height:300px;
position: fixed;
background: #fff;
z-index: 999;
margin: auto;
left: 0;
right: 0;
top: 0;
bottom: 0;
}