How to create: badge
- Previous Page Loader
- Next Page Star Rating
Learn how to create badges with CSS.
Badges can be used to add additional information to elements/content:
Example heading New
Example heading New
Example heading New
Example heading New
How to create a badge
Step 1 - Add HTML:
<span class="badge">New</span>
Step 2 - Add CSS:
.badge { background-color: red; color: white; padding: 4px 8px; text-align: center; border-radius: 5px; {}
- Previous Page Loader
- Next Page Star Rating