Buttons with badges
How do I make an buttons with badges?
A set of buttons with alert badges.Based on http://drbl.in/koLf by Ced Funches (cedfunches.com). What is a buttons with badges? How do you make a buttons with badges? This script and codes were developed by Nika Zawila on 15 October 2022, Saturday.
Buttons with badges - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Buttons with badges</title> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="holder"> <a href="#" class="btn"> <i class="fa fa-archive"></i> </a> <a href="#" class="btn"> <i class="fa fa-calendar"></i> </a> <a href="#" class="btn"> <i class="fa fa-bell"></i> </a> <a href="#" class="btn"> <i class="fa fa-envelope"></i> </a>
</div>
<div class="holder"> <a href="#" class="btn"> <i class="fa fa-archive"></i> <span class="btn__badge">4</span> </a> <a href="#" class="btn"> <i class="fa fa-calendar"></i> <span class="btn__badge btn__badge--blue">22</span> </a> <a href="#" class="btn"> <i class="fa fa-bell"></i> <span class="btn__badge btn__badge--green">5</span> </a> <a href="#" class="btn"> <i class="fa fa-envelope"></i> <span class="btn__badge btn__badge--purple">6</span> </a>
</div>
</body>
</html>
Buttons with badges - Script Codes CSS Codes
body { background: #faea6e; font-family: Helvetica, sans-serif; font-size: 16px; padding-top: 40px;
}
.holder { padding: 20px 0; border-radius: 4px; text-align: center;
}
.btn { background: white; text-decoration: none; padding: 20px; margin: 10px; position: relative; vertical-align: middle; text-align: center; display: inline-block; border-radius: 5px; transition: box-shadow 0.4s;
}
.btn:hover { box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}
.btn__badge { background: #FF5D5D; color: white; font-size: 12px; position: absolute; top: -10px; right: -10px; padding: 5px 8px; border-radius: 15px;
}
.btn__badge--blue { background: #33B6E6;
}
.btn__badge--green { background: #6fd162;
}
.btn__badge--purple { background: #b262d1;
}
.fa { color: #8E8E8E;
}
Developer | Nika Zawila |
Username | nikazawila |
Uploaded | October 15, 2022 |
Rating | 4.5 |
Size | 1,979 Kb |
Views | 18,216 |
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 |
Music player | 52,180 Kb |
Dropdown menu | 2,700 Kb |
A Pen by Nika Zawila | 1,712 Kb |
Credit Card Template | 16,362 Kb |
Web widget | 3,371 Kb |
BEM Buttons | 4,265 Kb |
Cashflow app module | 2,041 Kb |
Modal component with brick menu | 2,244 Kb |
Player | 142,669 Kb |
Buttons for autumn | 1,795 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 |
Getting Started | Viblast | 1,500 Kb |
JavaScript constructors | Simboonlong | 2,415 Kb |
Save for later... | Victorfreire | 1,359 Kb |
Myprofile | SoufianeAbid | 2,451 Kb |
Minimal Material Design Form Input | Koenigsegg1 | 3,076 Kb |
Fun form with currentColor | Bnthor | 2,713 Kb |
Another brick in the wall | Fivera | 1,955 Kb |
TheCalendar.js | The-teacher | 6,330 Kb |
Fixed Scrolling Nav Bar | Philsinatra | 0 Kb |
Basic 3D Fullscreen Transition | Apetrov | 3,270 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!