• This project
    • Loading...
  • Sign in

Administrator / xcx-take · Files

Go to a project

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • xcx-take
  • components
  • switch
  • switch.wxss
  • no message
    1c6c84f3
    by liuxuqing
    2021-02-04 13:41:48 +0800  
    Browse Files
switch.wxss 391 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
@import '../common.wxss';
.switch-cover{
    width:100rpx;
    height:60rpx;
    border:2rpx solid #eee;
    border-radius:32rpx;
    overflow:hidden;
}
.switch-circle{
    width:56rpx;
    height:56rpx;
    border-radius:28rpx;
    box-shadow:0 0 4px rgba(0,0,0,.2);
    position:relative;
    left:2rpx;
}
.switch-animate{
    transition:left .5s ease;
}
.switch-checked{
    left:44rpx;
}