列缺霹靂,丘巒崩摧。洞天石扉,訇然中開
scss
.tip {
white-space: nowrap;
padding: 5px 14px;
border: 1px solid #00adb5;
border-radius: 21px;
position: absolute;
left:50%;
transform: translateX(-50%);
bottom:40px;
background-color: #fff;
font-size: 16px;
color:#00adb5;
}TIP
Container set white-space: nowrap
Can not middle element by left: 0;right :0;margin: auto