dengrui/unpackage/dist/dev/mp-weixin/components/li-switch.wxss

48 lines
833 B
Plaintext

.row-c-c {
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
}
.c-white {
color: #FFFFFF;
}
.c-black {
color: #666666;
}
.switch_box {
position: relative;
border: 1rpx solid #EEEEEE;
background-color: #F5F5F5;
-webkit-transition: all 0.4s;
transition: all 0.4s;
}
.round {
position: absolute;
background-color: #FFFFFF;
-webkit-transition: all 0.4s;
transition: all 0.4s;
}
.to_left {
left: 0;
margin-left: 0;
}
.to_right {
left: 100%;
margin-left: -50rpx;
}
.switch_text {
position: absolute;
padding: 0 20rpx;
}
._right {
right: 0;
}