Filter Buttons With Count
How do I make an filter buttons with count?
What is a filter buttons with count? How do you make a filter buttons with count? This script and codes were developed by Ken Lane on 25 October 2022, Tuesday.
Filter Buttons With Count - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Filter Buttons With Count</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <body> <div class='header'> <div class='filter-by'> <span> <div class='label'> Filter by: </div> </span> <div class='filter'> <span class='msg'> <div class='tiny'>Pinned</div> <div class='tiny'>By You</div> </span> <span class='count'>5</span> </div> <div class='filter active-filter'> <span class='msg'> <div class='tiny'>Tanjo Bot</div> <div class='tiny'>Recommends</div> </span> <span class='count'>33</span> </div> <div class='filter'> <span class='msg'> <div class='tiny'>Pinned By</div> <div class='tiny'>Collaborators</div> </span> <span class='count'>7</span> </div> <div class='filter'> <span class='msg'> <div class='tiny'>No</div> <div class='tiny'>Filter</div> </span> <span class='count'>45</span> </div> </div> </div>
</body> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Filter Buttons With Count - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,700|Arvo:400,700);
.body { font-family: "Source Sans Pro", sans-serif;
}
.header { background: #56688b; height: 90px; padding: 30px 30px 0;
}
.filter-by { font-family: "Source Sans Pro", sans-serif; color: #fff; border-top: solid 1px #aaa0; border-left: solid 1px #aaa0; padding-left: 10px;
}
.filter-by .label { display: inline-block; vertical-align: middle; margin-bottom: 5px; height: 30px;
}
.filter-by .filter { border: 1px solid white; margin: 0 10px 5px; color: #fff; background: #56688b; padding: 0px 10px 0 10px; display: inline-block;
}
.filter-by .filter:hover { background: white; color: black; border: 1px solid black; cursor: pointer;
}
.filter-by .filter:hover span { text-decoration: underline;
}
.filter-by .filter span { display: inline-block;
}
.filter-by .filter .tiny { text-align: right; width: 69px; font-size: 12px; height: 12px;
}
.filter-by .filter .count { font-size: +20px; position: relative; top: -4px; padding-left: 5px; min-width: 23px; text-decoration: none !important;
}
.filter-by .filter .msg { display: ininle-block;
}
.active-filter { background: white !important; color: black !important;
}
Filter Buttons With Count - Script Codes JS Codes
$(".filter").mousedown( function()
{ $(".filter").removeClass("active"); $(this).addClass("active");
});
$(".filter").mousedown( function()
{ $(".filter").removeClass("active-filter"); $(this).addClass("active-filter");
});
Developer | Ken Lane |
Username | kenlane22 |
Uploaded | October 25, 2022 |
Rating | 3 |
Size | 3,183 Kb |
Views | 14,168 |
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 |
Money Buttons | 1,774 Kb |
Pin Game | 14,075 Kb |
Twinkling Word Cloud | 3,299 Kb |
Magnify Linked Page Area | 7,515 Kb |
Twinkling Word Cloud React | 3,705 Kb |
Tabs and Filters | 6,930 Kb |
Links in FirePad | 3,201 Kb |
CSS Box Shadow on Left and Right Only For Tab UI | 2,502 Kb |
CSS Tab UI with SVG diagonal lines | 4,405 Kb |
Pin Game1 | 15,973 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 |
Perspective Origin Demo | Agelber | 3,614 Kb |
Planet Awesome | Bartuc | 3,554 Kb |
Minimal Menu | Achudars | 3,430 Kb |
Bubble animation | Ftabor | 6,565 Kb |
CSS Letter animations | Sladix | 2,116 Kb |
CSS only simple parallax scroll | Stanssongs | 3,708 Kb |
Blog Concept - Single Post | Marionebl | 9,603 Kb |
Drag and Drop Quiz | Cgspicer | 3,837 Kb |
CSS3 Snow Animation | NickyCDK | 1,695 Kb |
Review test | Otro_user_gil | 4,054 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!