Button Switch

Size
5,239 Kb
Views
56,672

How do I make an button switch?

Button Switch with using CSS Click Events. What is a button switch? How do you make a button switch? This script and codes were developed by Rıza Selçuk Saydam on 02 August 2022, Tuesday.

Button Switch Previews

Button Switch - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Button Switch</title> <script src="http://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ *,
*:after,
*:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding: 0; margin: 0;
}
/* Styles */
body {	background-color: #ddd;	font-family: Helvetica,Helvetica Neue,Arial;	color: #757575;	font-size: 14px;	line-height: 1;
}
.clear {	clear: both;
}
.rss {	width: 400px;	height: 300px;	display: block;	position: absolute;	top: 50%;	left: 50%;	margin: -150px 0 0 -200px;	background: #d4d5d6;	background: -webkit-linear-gradient(top, #d4d5d6 0%, #d2d3d4 22%, #c8c9ca 68%, #c8c9ca 100%);	background: -moz-linear-gradient(top, #d4d5d6 0%, #d2d3d4 22%, #c8c9ca 68%, #c8c9ca 100%);	background: -o-linear-gradient(top, #d4d5d6 0%, #d2d3d4 22%, #c8c9ca 68%, #c8c9ca 100%);	background: -ms-linear-gradient(top, #d4d5d6 0%, #d2d3d4 22%, #c8c9ca 68%, #c8c9ca 100%);	background: linear-gradient(top, #d4d5d6 0%, #d2d3d4 22%, #c8c9ca 68%, #c8c9ca 100%);	box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.5);	text-align: center;	overflow: hidden;
}
.rss:before {	content: "";	background: -webkit-radial-gradient(center, ellipse cover, rgba(254,254,254,1) 0%, rgba(254,254,254,0) 50%, rgba(254,254,254,0) 100%);	background: -moz-radial-gradient(center, ellipse cover, rgba(254,254,254,1) 0%, rgba(254,254,254,0) 50%, rgba(254,254,254,0) 100%);	background: -o-radial-gradient(center, ellipse cover, rgba(254,254,254,1) 0%, rgba(254,254,254,0) 50%, rgba(254,254,254,0) 100%);	background: -ms-radial-gradient(center, ellipse cover, rgba(254,254,254,1) 0%, rgba(254,254,254,0) 50%, rgba(254,254,254,0) 100%);	background: radial-gradient(center, ellipse cover, rgba(254,254,254,1) 0%, rgba(254,254,254,0) 50%, rgba(254,254,254,0) 100%);	width: 600px;	height: 600px;	display: block;	position: absolute;	top: -300px;	left: 50%;	margin-left: -300px;	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";	filter: alpha(opacity=70);	opacity: 0.8;
}
label {	width: 90px;	height: 30px;	display: inline-block;	margin-top: 100px;	position: relative;	border-radius: 14px;	-webkit-background-clip: padding-box;	-moz-background-clip: padding-box;	background-clip: padding-box;	background: rgb(138,138,138);	background: -webkit-linear-gradient(top, rgba(138,138,138,1) 0%, rgba(140,140,140,1) 14%, rgba(159,159,159,1) 72%, rgba(164,164,164,1) 100%);	background: -moz-linear-gradient(top, rgba(138,138,138,1) 0%, rgba(140,140,140,1) 14%, rgba(159,159,159,1) 72%, rgba(164,164,164,1) 100%);	background: -o-linear-gradient(top, rgba(138,138,138,1) 0%, rgba(140,140,140,1) 14%, rgba(159,159,159,1) 72%, rgba(164,164,164,1) 100%);	background: -ms-linear-gradient(top, rgba(138,138,138,1) 0%, rgba(140,140,140,1) 14%, rgba(159,159,159,1) 72%, rgba(164,164,164,1) 100%);	background: linear-gradient(top, rgba(138,138,138,1) 0%, rgba(140,140,140,1) 14%, rgba(159,159,159,1) 72%, rgba(164,164,164,1) 100%);	box-shadow: inset 0 2px 5px 0 rgba(0, 0, 0, 0.1), inset 0 -1px 0 0 rgba(0, 0, 0, 0.1);	line-height: 30px;	font-style: normal;	color: #fff;	text-shadow: 0 1px 1px rgba(0,0,0,0.1);	font-weight: bold;	-webkit-box-reflect: below 0px	-webkit-gradient(linear, left top, left bottom,	color-stop(0.5, transparent),	to(rgba(255, 255, 255, 0.3)));	-moz-transition: all 1s ease-in;	-webkit-transition: all 1s ease-in;	-o-transition: all 1s ease-in;	transition: all 1s ease-in;	cursor: pointer;
}
label.attention:hover {	background: rgb(238,159,7);	background: -moz-linear-gradient(top, rgba(238,159,7,1) 0%, rgba(240,171,8,1) 45%, rgba(243,182,15,1) 100%);	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(238,159,7,1)), color-stop(45%,rgba(240,171,8,1)), color-stop(100%,rgba(243,182,15,1)));	background: -webkit-linear-gradient(top, rgba(238,159,7,1) 0%,rgba(240,171,8,1) 45%,rgba(243,182,15,1) 100%);	background: -o-linear-gradient(top, rgba(238,159,7,1) 0%,rgba(240,171,8,1) 45%,rgba(243,182,15,1) 100%);	background: -ms-linear-gradient(top, rgba(238,159,7,1) 0%,rgba(240,171,8,1) 45%,rgba(243,182,15,1) 100%);	background: linear-gradient(to bottom, rgba(238,159,7,1) 0%,rgba(240,171,8,1) 45%,rgba(243,182,15,1) 100%);	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ee9f07', endColorstr='#f3b60f',GradientType=0 );
}
label.attention:hover:before {	content: "☢"; /* &#9762; */	font-size: 22px
}
input[type=checkbox]:checked ~ label.attention:hover:before {	content: "on";	font-size: 14px
}
label i {	position: absolute;	top: -4px;	right:60px;	width: 36px;	height: 36px;	display: block;	border-radius: 36px;	background: rgb(255,255,255);	background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(252,252,252,1) 11%, rgba(228,228,228,1) 50%, rgba(221,221,221,1) 53%, rgba(205,205,205,1) 97%, rgba(191,191,191,1) 100%);	background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(252,252,252,1) 11%, rgba(228,228,228,1) 50%, rgba(221,221,221,1) 53%, rgba(205,205,205,1) 97%, rgba(191,191,191,1) 100%);	background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(252,252,252,1) 11%, rgba(228,228,228,1) 50%, rgba(221,221,221,1) 53%, rgba(205,205,205,1) 97%, rgba(191,191,191,1) 100%);	background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(252,252,252,1) 11%, rgba(228,228,228,1) 50%, rgba(221,221,221,1) 53%, rgba(205,205,205,1) 97%, rgba(191,191,191,1) 100%);	background: linear-gradient(top, rgba(255,255,255,1) 0%, rgba(252,252,252,1) 11%, rgba(228,228,228,1) 50%, rgba(221,221,221,1) 53%, rgba(205,205,205,1) 97%, rgba(191,191,191,1) 100%);	box-shadow: inset 0 -3px 3px 0 rgba(0, 0, 0, 0.1), inset 0 -1px 1px 0 rgba(255, 255, 255, 0.4), 0 2px 0 0 rgba(0, 0, 0, 0.2);	-webkit-transition: all 200ms ease;	-moz-transition: all 200ms ease;	-o-transition: all 200ms ease;	-ms-transition: all 200ms ease;	transition: all 200ms ease;
}
label i:before {	content: "";	display: block;	position: absolute;	top: 50%;	left: 50%;	width: 18px;	height: 18px;	margin: -9px 0 0 -9px;	border-radius: 18px;	background: rgb(239,239,239);	background: -webkit-linear-gradient(top, rgba(239,239,239,1) 0%, rgba(225,225,225,1) 6%, rgba(225,225,225,1) 24%, rgba(229,229,229,1) 94%, rgba(242,242,242,1) 100%);	background: -moz-linear-gradient(top, rgba(239,239,239,1) 0%, rgba(225,225,225,1) 6%, rgba(225,225,225,1) 24%, rgba(229,229,229,1) 94%, rgba(242,242,242,1) 100%);	background: -o-linear-gradient(top, rgba(239,239,239,1) 0%, rgba(225,225,225,1) 6%, rgba(225,225,225,1) 24%, rgba(229,229,229,1) 94%, rgba(242,242,242,1) 100%);	background: -ms-linear-gradient(top, rgba(239,239,239,1) 0%, rgba(225,225,225,1) 6%, rgba(225,225,225,1) 24%, rgba(229,229,229,1) 94%, rgba(242,242,242,1) 100%);	background: linear-gradient(top, rgba(239,239,239,1) 0%, rgba(225,225,225,1) 6%, rgba(225,225,225,1) 24%, rgba(229,229,229,1) 94%, rgba(242,242,242,1) 100%);	box-shadow: inset 0 1px 0 0 rgba(0, 0, 0, 0.1);
}
label:hover i {	box-shadow: inset 0 -3px 3px 0 rgba(0, 0, 0, 0.1), inset 0 -1px 1px 0 rgba(255, 255, 255, 0.4), 0 2px 0 0 rgba(0, 0, 0, 0.3);
}
label:active i:before {	box-shadow: inset 0 1px 0 0 rgba(0, 0, 0, 0.3);
}
label:before {	content: "off";	margin-left: 30px;	text-transform: uppercase;	-webkit-transition: all 200ms ease;	-moz-transition: all 200ms ease;	-o-transition: all 200ms ease;	-ms-transition: all 200ms ease;	transition: all 200ms ease;
}
label:after {	content: "dont't turn me";	right: 85px;	width: 150px;	text-transform: uppercase;	font-size: 10px;	font-weight: bold;	color: #999;	text-shadow: 0 1px 1px rgba(255,255,255,0.5), 0 -1px 1px rgba(0,0,0,0.1);	position: absolute;	top: 0;
}
input[type=checkbox]:checked ~ label:before {	content: "on";	text-transform: uppercase;	margin-right: 30px;	margin-left: 0;
}
input[type=checkbox]:checked ~ label:after {	content: "to bed";	right: -130px;
}
input[type=checkbox]:checked ~ label{	background: rgb(141,173,51);	background: -webkit-radial-gradient(center, ellipse cover, rgba(141,173,51,1) 0%, rgba(146,178,55,1) 24%, rgba(157,187,64,1) 55%, rgba(166,194,78,1) 100%);	background: -moz-radial-gradient(center, ellipse cover, rgba(141,173,51,1) 0%, rgba(146,178,55,1) 24%, rgba(157,187,64,1) 55%, rgba(166,194,78,1) 100%);	background: -o-radial-gradient(center, ellipse cover, rgba(141,173,51,1) 0%, rgba(146,178,55,1) 24%, rgba(157,187,64,1) 55%, rgba(166,194,78,1) 100%);	background: -ms-radial-gradient(center, ellipse cover, rgba(141,173,51,1) 0%, rgba(146,178,55,1) 24%, rgba(157,187,64,1) 55%, rgba(166,194,78,1) 100%);	background: radial-gradient(center, ellipse cover, rgba(141,173,51,1) 0%, rgba(146,178,55,1) 24%, rgba(157,187,64,1) 55%, rgba(166,194,78,1) 100%);
}
input[type=checkbox]:checked ~ label i {	right: -6px;
}
/* you can hide leter */
input:before {	content: "Logic:";	margin-left: -35px;	font-size: 10px;	color: #333;
}
input {	position: absolute;	bottom: 5px;	left: 50%;	margin-left: 10px;	opacity: .1; -webkit-transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; -o-transition: all 0.3s ease-out; transition: all 0.3s ease-out;
}
input:hover {	opacity: 1;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="rss"> <input type="checkbox" id="buttonThree" /> <label for="buttonThree"> <!-- class="attention" --> <i></i> </label>
</div><!-- /rss --> <script src='http://ajax.googleapis.com/ajax/libs/mootools/1.4.5/mootools-yui-compressed.js'></script> <script src="js/index.js"></script>
</body>
</html>

Button Switch - Script Codes CSS Codes

*,
*:after,
*:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding: 0; margin: 0;
}
/* Styles */
body {	background-color: #ddd;	font-family: Helvetica,Helvetica Neue,Arial;	color: #757575;	font-size: 14px;	line-height: 1;
}
.clear {	clear: both;
}
.rss {	width: 400px;	height: 300px;	display: block;	position: absolute;	top: 50%;	left: 50%;	margin: -150px 0 0 -200px;	background: #d4d5d6;	background: -webkit-linear-gradient(top, #d4d5d6 0%, #d2d3d4 22%, #c8c9ca 68%, #c8c9ca 100%);	background: -moz-linear-gradient(top, #d4d5d6 0%, #d2d3d4 22%, #c8c9ca 68%, #c8c9ca 100%);	background: -o-linear-gradient(top, #d4d5d6 0%, #d2d3d4 22%, #c8c9ca 68%, #c8c9ca 100%);	background: -ms-linear-gradient(top, #d4d5d6 0%, #d2d3d4 22%, #c8c9ca 68%, #c8c9ca 100%);	background: linear-gradient(top, #d4d5d6 0%, #d2d3d4 22%, #c8c9ca 68%, #c8c9ca 100%);	box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.5);	text-align: center;	overflow: hidden;
}
.rss:before {	content: "";	background: -webkit-radial-gradient(center, ellipse cover, rgba(254,254,254,1) 0%, rgba(254,254,254,0) 50%, rgba(254,254,254,0) 100%);	background: -moz-radial-gradient(center, ellipse cover, rgba(254,254,254,1) 0%, rgba(254,254,254,0) 50%, rgba(254,254,254,0) 100%);	background: -o-radial-gradient(center, ellipse cover, rgba(254,254,254,1) 0%, rgba(254,254,254,0) 50%, rgba(254,254,254,0) 100%);	background: -ms-radial-gradient(center, ellipse cover, rgba(254,254,254,1) 0%, rgba(254,254,254,0) 50%, rgba(254,254,254,0) 100%);	background: radial-gradient(center, ellipse cover, rgba(254,254,254,1) 0%, rgba(254,254,254,0) 50%, rgba(254,254,254,0) 100%);	width: 600px;	height: 600px;	display: block;	position: absolute;	top: -300px;	left: 50%;	margin-left: -300px;	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";	filter: alpha(opacity=70);	opacity: 0.8;
}
label {	width: 90px;	height: 30px;	display: inline-block;	margin-top: 100px;	position: relative;	border-radius: 14px;	-webkit-background-clip: padding-box;	-moz-background-clip: padding-box;	background-clip: padding-box;	background: rgb(138,138,138);	background: -webkit-linear-gradient(top, rgba(138,138,138,1) 0%, rgba(140,140,140,1) 14%, rgba(159,159,159,1) 72%, rgba(164,164,164,1) 100%);	background: -moz-linear-gradient(top, rgba(138,138,138,1) 0%, rgba(140,140,140,1) 14%, rgba(159,159,159,1) 72%, rgba(164,164,164,1) 100%);	background: -o-linear-gradient(top, rgba(138,138,138,1) 0%, rgba(140,140,140,1) 14%, rgba(159,159,159,1) 72%, rgba(164,164,164,1) 100%);	background: -ms-linear-gradient(top, rgba(138,138,138,1) 0%, rgba(140,140,140,1) 14%, rgba(159,159,159,1) 72%, rgba(164,164,164,1) 100%);	background: linear-gradient(top, rgba(138,138,138,1) 0%, rgba(140,140,140,1) 14%, rgba(159,159,159,1) 72%, rgba(164,164,164,1) 100%);	box-shadow: inset 0 2px 5px 0 rgba(0, 0, 0, 0.1), inset 0 -1px 0 0 rgba(0, 0, 0, 0.1);	line-height: 30px;	font-style: normal;	color: #fff;	text-shadow: 0 1px 1px rgba(0,0,0,0.1);	font-weight: bold;	-webkit-box-reflect: below 0px	-webkit-gradient(linear, left top, left bottom,	color-stop(0.5, transparent),	to(rgba(255, 255, 255, 0.3)));	-moz-transition: all 1s ease-in;	-webkit-transition: all 1s ease-in;	-o-transition: all 1s ease-in;	transition: all 1s ease-in;	cursor: pointer;
}
label.attention:hover {	background: rgb(238,159,7);	background: -moz-linear-gradient(top, rgba(238,159,7,1) 0%, rgba(240,171,8,1) 45%, rgba(243,182,15,1) 100%);	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(238,159,7,1)), color-stop(45%,rgba(240,171,8,1)), color-stop(100%,rgba(243,182,15,1)));	background: -webkit-linear-gradient(top, rgba(238,159,7,1) 0%,rgba(240,171,8,1) 45%,rgba(243,182,15,1) 100%);	background: -o-linear-gradient(top, rgba(238,159,7,1) 0%,rgba(240,171,8,1) 45%,rgba(243,182,15,1) 100%);	background: -ms-linear-gradient(top, rgba(238,159,7,1) 0%,rgba(240,171,8,1) 45%,rgba(243,182,15,1) 100%);	background: linear-gradient(to bottom, rgba(238,159,7,1) 0%,rgba(240,171,8,1) 45%,rgba(243,182,15,1) 100%);	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ee9f07', endColorstr='#f3b60f',GradientType=0 );
}
label.attention:hover:before {	content: "☢"; /* ☢ */	font-size: 22px
}
input[type=checkbox]:checked ~ label.attention:hover:before {	content: "on";	font-size: 14px
}
label i {	position: absolute;	top: -4px;	right:60px;	width: 36px;	height: 36px;	display: block;	border-radius: 36px;	background: rgb(255,255,255);	background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(252,252,252,1) 11%, rgba(228,228,228,1) 50%, rgba(221,221,221,1) 53%, rgba(205,205,205,1) 97%, rgba(191,191,191,1) 100%);	background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(252,252,252,1) 11%, rgba(228,228,228,1) 50%, rgba(221,221,221,1) 53%, rgba(205,205,205,1) 97%, rgba(191,191,191,1) 100%);	background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(252,252,252,1) 11%, rgba(228,228,228,1) 50%, rgba(221,221,221,1) 53%, rgba(205,205,205,1) 97%, rgba(191,191,191,1) 100%);	background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(252,252,252,1) 11%, rgba(228,228,228,1) 50%, rgba(221,221,221,1) 53%, rgba(205,205,205,1) 97%, rgba(191,191,191,1) 100%);	background: linear-gradient(top, rgba(255,255,255,1) 0%, rgba(252,252,252,1) 11%, rgba(228,228,228,1) 50%, rgba(221,221,221,1) 53%, rgba(205,205,205,1) 97%, rgba(191,191,191,1) 100%);	box-shadow: inset 0 -3px 3px 0 rgba(0, 0, 0, 0.1), inset 0 -1px 1px 0 rgba(255, 255, 255, 0.4), 0 2px 0 0 rgba(0, 0, 0, 0.2);	-webkit-transition: all 200ms ease;	-moz-transition: all 200ms ease;	-o-transition: all 200ms ease;	-ms-transition: all 200ms ease;	transition: all 200ms ease;
}
label i:before {	content: "";	display: block;	position: absolute;	top: 50%;	left: 50%;	width: 18px;	height: 18px;	margin: -9px 0 0 -9px;	border-radius: 18px;	background: rgb(239,239,239);	background: -webkit-linear-gradient(top, rgba(239,239,239,1) 0%, rgba(225,225,225,1) 6%, rgba(225,225,225,1) 24%, rgba(229,229,229,1) 94%, rgba(242,242,242,1) 100%);	background: -moz-linear-gradient(top, rgba(239,239,239,1) 0%, rgba(225,225,225,1) 6%, rgba(225,225,225,1) 24%, rgba(229,229,229,1) 94%, rgba(242,242,242,1) 100%);	background: -o-linear-gradient(top, rgba(239,239,239,1) 0%, rgba(225,225,225,1) 6%, rgba(225,225,225,1) 24%, rgba(229,229,229,1) 94%, rgba(242,242,242,1) 100%);	background: -ms-linear-gradient(top, rgba(239,239,239,1) 0%, rgba(225,225,225,1) 6%, rgba(225,225,225,1) 24%, rgba(229,229,229,1) 94%, rgba(242,242,242,1) 100%);	background: linear-gradient(top, rgba(239,239,239,1) 0%, rgba(225,225,225,1) 6%, rgba(225,225,225,1) 24%, rgba(229,229,229,1) 94%, rgba(242,242,242,1) 100%);	box-shadow: inset 0 1px 0 0 rgba(0, 0, 0, 0.1);
}
label:hover i {	box-shadow: inset 0 -3px 3px 0 rgba(0, 0, 0, 0.1), inset 0 -1px 1px 0 rgba(255, 255, 255, 0.4), 0 2px 0 0 rgba(0, 0, 0, 0.3);
}
label:active i:before {	box-shadow: inset 0 1px 0 0 rgba(0, 0, 0, 0.3);
}
label:before {	content: "off";	margin-left: 30px;	text-transform: uppercase;	-webkit-transition: all 200ms ease;	-moz-transition: all 200ms ease;	-o-transition: all 200ms ease;	-ms-transition: all 200ms ease;	transition: all 200ms ease;
}
label:after {	content: "dont't turn me";	right: 85px;	width: 150px;	text-transform: uppercase;	font-size: 10px;	font-weight: bold;	color: #999;	text-shadow: 0 1px 1px rgba(255,255,255,0.5), 0 -1px 1px rgba(0,0,0,0.1);	position: absolute;	top: 0;
}
input[type=checkbox]:checked ~ label:before {	content: "on";	text-transform: uppercase;	margin-right: 30px;	margin-left: 0;
}
input[type=checkbox]:checked ~ label:after {	content: "to bed";	right: -130px;
}
input[type=checkbox]:checked ~ label{	background: rgb(141,173,51);	background: -webkit-radial-gradient(center, ellipse cover, rgba(141,173,51,1) 0%, rgba(146,178,55,1) 24%, rgba(157,187,64,1) 55%, rgba(166,194,78,1) 100%);	background: -moz-radial-gradient(center, ellipse cover, rgba(141,173,51,1) 0%, rgba(146,178,55,1) 24%, rgba(157,187,64,1) 55%, rgba(166,194,78,1) 100%);	background: -o-radial-gradient(center, ellipse cover, rgba(141,173,51,1) 0%, rgba(146,178,55,1) 24%, rgba(157,187,64,1) 55%, rgba(166,194,78,1) 100%);	background: -ms-radial-gradient(center, ellipse cover, rgba(141,173,51,1) 0%, rgba(146,178,55,1) 24%, rgba(157,187,64,1) 55%, rgba(166,194,78,1) 100%);	background: radial-gradient(center, ellipse cover, rgba(141,173,51,1) 0%, rgba(146,178,55,1) 24%, rgba(157,187,64,1) 55%, rgba(166,194,78,1) 100%);
}
input[type=checkbox]:checked ~ label i {	right: -6px;
}
/* you can hide leter */
input:before {	content: "Logic:";	margin-left: -35px;	font-size: 10px;	color: #333;
}
input {	position: absolute;	bottom: 5px;	left: 50%;	margin-left: 10px;	opacity: .1; -webkit-transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; -o-transition: all 0.3s ease-out; transition: all 0.3s ease-out;
}
input:hover {	opacity: 1;
}

Button Switch - Script Codes JS Codes

/***
This is a pure-CSS3 button switch example. NO JS!
Design: Fernando Maclen http://drbl.in/dMpc
Front-End: Riza Selcuk Saydam http:/webmagazin.co
***/
Button Switch - Script Codes
Button Switch - Script Codes
Home Page Home
Developer Rıza Selçuk Saydam
Username rss
Uploaded August 02, 2022
Rating 4
Size 5,239 Kb
Views 56,672
Do you need developer help for Button Switch?

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!

Rıza Selçuk Saydam (rss) Script Codes
Create amazing blog posts 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!