Checkbox sony xperia style

Developer
Size
3,695 Kb
Views
18,216

How do I make an checkbox sony xperia style?

Used only input and label. What is a checkbox sony xperia style? How do you make a checkbox sony xperia style? This script and codes were developed by Sergey on 14 November 2022, Monday.

Checkbox sony xperia style Previews

Checkbox sony xperia style - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>checkbox sony xperia style</title> <link rel="stylesheet" href="css/style.css">
</head>
<body>
<body> <div class="wrapper"> <p>Xpedia mode</p> <label class="checkbox"> <input type="checkbox"/><span class="checkbox__background"></span><span class="checkbox__thumb"></span> </label> </div>
</body>
</body>
</html>

Checkbox sony xperia style - Script Codes CSS Codes

@import url("https://fonts.googleapis.com/css?family=Open+Sans:300");
body { background: linear-gradient(27deg, #151515 0.25rem, transparent 0.25rem) 0 0.25rem, linear-gradient(207deg, #151515 0.25rem, transparent 0.25rem) 0.5rem 0px, linear-gradient(27deg, #222 0.25rem, transparent 0.25rem) 0px 0.5rem, linear-gradient(207deg, #222 0.25rem, transparent 0.25rem) 0.5rem 0.25rem, linear-gradient(90deg, #1b1b1b 0.5rem, transparent 0.5rem), linear-gradient(#1d1d1d 25%, #1a1a1a 25%, #1a1a1a 50%, transparent 50%, transparent 75%, #242424 75%, #242424); background-color: #131313; background-size: 1rem 1rem; background-attachment: fixed;
}
.wrapper { position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto; padding: 3.846153846153846rem/5; width: 35rem; height: 3.846153846153846rem; text-align: right;
}
p { display: inline-block; line-height: 3.846153846153846rem; font-family: "Open Sans"; font-weight: 300; font-size: 3.846153846153846rem; vertical-align: top; margin: 0 0.769230769230769rem 0 0; color: #fdfdfd;
}
.checkbox { display: inline-block; position: relative; width: 10rem; height: 3.846153846153846rem; margin: 0; border-radius: 3.846153846153846rem; border: 0.071428571428571rem solid #232423; cursor: pointer; overflow: hidden; contain: content;
}
.checkbox .checkbox__background { display: block; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: -1; border-radius: 3.846153846153846rem; background: #2a2b2b; box-shadow: inset 0 0 0.571428571428571rem 0.142857142857143rem rgba(0,0,0,0.7), inset 0 0.071428571428571rem 0.142857142857143rem rgba(0,0,0,0.7), inset 0 -0.071428571428571rem 0.035714285714286rem #666460; transition: background-color 0.3s cubic-bezier(0.4, 0, 0, 1);
}
.checkbox .checkbox__thumb { display: block; position: absolute; left: 0.171428571428571rem; top: 0.171428571428571rem; box-sizing: border-box; height: 3.503296703296703rem; width: 3.503296703296703rem; background-image: url("http://www.texturex.com/albums/Metal-Textures/TextureX%20Brushed%20Spin%20Aluminum%20Metal%20Texture%20Stock%20Texture.jpg"); background-size: 150%; background-position: center center; border-radius: 100%; box-shadow: 0 0 0.571428571428571rem 0.142857142857143rem rgba(0,0,0,0.9); transition: transform 0.3s cubic-bezier(0.4, 0, 0, 1); will-change: transform;
}
.checkbox input { display: none;
}
.checkbox input:checked ~ .checkbox__background { background: #009dd0;
}
.checkbox input:checked ~ .checkbox__thumb { transform: translateX(6.153846153846154rem);
}
Checkbox sony xperia style - Script Codes
Checkbox sony xperia style - Script Codes
Home Page Home
Developer Sergey
Username JohnTheCat
Uploaded November 14, 2022
Rating 3
Size 3,695 Kb
Views 18,216
Do you need developer help for Checkbox sony xperia style?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Sergey (JohnTheCat) Script Codes
Create amazing web content with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!