
<title>纯CSS3左右滑动开关按钮 - 源码搜藏</title>
<link rel="stylesheet" href="css/style.css" media="screen" type="text/css" />
</head>
<body>
<div class="switch">
<input type="checkbox" id="control" class="control">
<label for="control" class="checkbox"></label>
</div>