Chunky Toggles
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 - 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');
});
Developer | Kendrick Arnett |
Username | kendrick |
Uploaded | November 18, 2022 |
Rating | 3 |
Size | 2,821 Kb |
Views | 26,312 |
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!
Name | Size |
Postfix Badge Button | 2,345 Kb |
Media Queries via include-media | 7,667 Kb |
A11y Product Tile | 4,484 Kb |
Duotone Fixed Backgrounds | 7,732 Kb |
Preliminary Tags | 2,632 Kb |
Lazy Image Loading via ScrollMagic | 4,812 Kb |
Linkish Buttons | 2,357 Kb |
Colors | 6,261 Kb |
Pulse for Skeleton Screens | 2,233 Kb |
SVG Social Icons | 4,587 Kb |
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!
Name | Username | Size |
Mandelbrot Fractal | _Billy_Brown | 2,706 Kb |
Content Changer | Cliffpyles | 4,538 Kb |
Very Simple Slider | Doodlemarks | 2,682 Kb |
A bit of elegance | Hackthevoid | 9,095 Kb |
Velocity.js custom stagger | Tommiehansen | 4,805 Kb |
Wikipedia Viewer | Codinger | 4,681 Kb |
Javascript Welcome | Peterlewicki | 1,573 Kb |
RRC wrapSwitch | Pshrmn | 2,922 Kb |
Calculator - codevember 08 - 2016 | Caiocares | 3,260 Kb |
Horizontal slider on scroll | Alojzije | 2,672 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!