Toggle - grouped
How do I make an toggle - grouped?
What is a toggle - grouped? How do you make a toggle - grouped? This script and codes were developed by Josh Vogt on 18 November 2022, Friday.
Toggle - grouped - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Toggle - grouped</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="Sorting" class="sr-sort-control" style="display: block;"> <div class="sr-switch"> <input id="SortTypePostDate" type="radio" name="SortType" value="PostDate" onclick="javascript:SortPage('POSTDATE ');"> <label for="SortTypePostDate">Newest</label> <input checked="checked" id="SortTypeRelevance" type="radio" name="SortType" value="Relevance" onclick="javascript:SortPage('RELEVANCE ');"> <label for="SortTypeRelevance">Relevance</label> </div> <!-- end switch -->
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>
Toggle - grouped - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700);
* { box-sizing: border-box;
}
.sr-switch { background: #eee; display: block; height: 40px; font-family: 'Source Sans Pro'; width: 160px; border: 1px solid #ccc; border-radius: 4px;
}
.sr-switch label { color: #333; font-size: 14px; -webkit-transition: all .2s ease; transition: all .2s ease; cursor: pointer; display: block; width: 50%; float: left; height: 100%; padding: 10px; font-weight: 700; text-align: center;
}
.sr-switch input { display: none;
}
.sr-switch input[value="Relevance"]:checked + label,
.sr-switch input[value="PostDate"]:checked + label { color: #fff; background: #69be28; cursor: text;
}
Developer | Josh Vogt |
Username | josh_vogt |
Uploaded | November 18, 2022 |
Rating | 3 |
Size | 2,552 Kb |
Views | 12,144 |
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 |
A Pen by Josh Vogt | 2,910 Kb |
CSS modals and sheets animations | 2,294 Kb |
Header - search v2 | 4,527 Kb |
Items sliding out of list | 1,938 Kb |
Workopolis SVG Logo - Animated | 4,093 Kb |
Header - search v1 | 4,595 Kb |
Animating Flexbox Properties | 2,571 Kb |
Dismissing and Adding items with CSS transforms | 2,388 Kb |
Toggle - just a dropdown | 1,542 Kb |
Header - search v3 | 4,093 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 |
CSS Variables | Jdsteinbach | 4,759 Kb |
Scroll using CSS | Casperovic | 2,159 Kb |
Twitch Live Channels | Inkblotty | 4,956 Kb |
Horizontal Navigation with Floats | Gymratpacks | 5,403 Kb |
Simple Weather App | Cmwebby | 0 Kb |
CSS Donut Charts | Seanstopnik | 2,908 Kb |
Process Accordion | Devilskitchen | 31,432 Kb |
Magnus 3 | ARocketfish | 7,944 Kb |
Hello People | Danburrows | 2,365 Kb |
Drag in vanilla js using dotval math instead of translate | Paulq | 2,662 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!