slide_btn.less
596 Bytes
.m-slide-btn{
// background-color: #f8f8f8;
border: 1px solid #e2e2e2;
border-radius: 17px;
overflow: hidden;
li{
width: 33.3%;
line-height: 1.5;
text-align: center;
float: left;
// background-color: #FFF;
border-right: none;
box-sizing: border-box;
.text{
display: block;
color: #333;
font-size: 15px;
padding: 5px 0;
-webkit-transition: all .3s ease-in-out;
-o-transition: all .3s ease-in-out;
transition: all .3s ease-in-out;
}
&.on{
.text{
color: #FFF !important;
// background-color: #1c69a3;
// border-radius: 16px;
}
}
}
}