jquery+css美化checkbox胶囊开关效果代码

代码语言:html

所属分类:表单美化

代码描述:jquery+css美化checkbox胶囊开关效果代码

代码标签: css checkbox 胶囊 开关

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">

    <style>
        @import url(https://fonts.googleapis.com/css?family=Ubuntu);
        body {
          text-align: center;
          padding: 10% 50px;
          background-color: #2c3e50;
        }
        
        h1 {
          font-family: "Ubuntu", sans-serif;
          color: #fff;
          font-size: 40px;
          font-weight: normal;
          margin-bottom: 50px;
        }
        
        .toggle-btn {
          width: 80px;
          height: 40px;
          margin: 10px;
          border-radius: 50px;
          display: inline-block;
          position: relative;
          background: url(&.........完整代码请登录后点击上方下载按钮下载查看

网友评论0