Chunky Toggles

Size
2,821 Kb
Views
26,312

How do I make an chunky toggles?

What is a chunky toggles? How do you make a chunky toggles? This script and codes were developed by Kendrick Arnett on 18 November 2022, Friday.

Chunky Toggles Previews

Chunky Toggles - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Chunky Toggles</title> <link href="https://fonts.googleapis.com/css?family=Roboto|Roboto+Condensed|Roboto+Mono" rel="stylesheet"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel='stylesheet prefetch' href='css/rlgxqp.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body>
<!-- Radio buttons would be better-->
<button class="flag">US</button>
<button class="flag">CA</button> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Chunky Toggles - Script Codes CSS Codes

.flag { border-color: silver; -webkit-transition: box-shadow 50ms ease, border-color 50ms ease; transition: box-shadow 50ms ease, border-color 50ms ease;
}
.flag:not(:active) { box-shadow: 0 4px 0px 0px silver; -webkit-transition: box-shadow 50ms ease; transition: box-shadow 50ms ease;
}
.flag:hover { box-shadow: 0 6px 0px 0px silver; -webkit-transition: box-shadow 50ms ease; transition: box-shadow 50ms ease;
}
.flag:active { box-shadow: 0 1px 0px 0px silver; -webkit-transition: box-shadow 50ms ease; transition: box-shadow 50ms ease;
}
.flag.selected { border-color: #0a689d; box-shadow: none; -webkit-transition: box-shadow 50ms ease; transition: box-shadow 50ms ease;
}
.flag { border: 2px solid silver; border-radius: 4px; display: block; width: 10rem; height: 10rem; margin: 2rem; background: #fff; outline: 0;
}
html, body { height: 100%;
}
body { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center;
}

Chunky Toggles - Script Codes JS Codes

$('.flag').click(function () { $(this).toggleClass('selected');
});
Chunky Toggles - Script Codes
Chunky Toggles - Script Codes
Home Page Home
Developer Kendrick Arnett
Username kendrick
Uploaded November 18, 2022
Rating 3
Size 2,821 Kb
Views 26,312
Do you need developer help for Chunky Toggles?

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!

Kendrick Arnett (kendrick) 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!