LATEST >>

Welcome Here And Thanks For Visiting. Like Us On Facebook...

EXEIdeas – Let's Your Mind Rock » CSS Codes / HTML-CSS-PHP-JavaScript » Simple And Clean Double Value CSS Badges And Labels Examples

Simple And Clean Double Value CSS Badges And Labels Examples

Simple-And-Clean-Double-Value-CSS-Badges-And-Labels-Examples
The following example of CSS badges can be used for notification or an attractive button. It includes both icon and label which has additional 4 effects of changing background as per data type. This serves as an interactive navigation option for the users. While in a menu you have a number of components, not all come under the same category. You have a stand-alone gateway to some external site or feature. In such a case, these navigation badge designs with CSS can fill the gap.

There are many code snippets available online or on many other blogs and websites but everyone is not able to optimize your blog or website so you need some optimized code snippet. So now checkout out the code snippet for your blog and website that will give you all features for your desired code. Now grab the ready to use code and paste it where you want.

Features:

  1. Light Weight.
  2. Pure CSS3 Code.
  3. Cross Browser.
  4. No External Files.
  5. Fully Customizable.
  6. Responsive.

How To Use 15 Stylish And Attractive Custom CSS For Scroll Bar Using CSS3?

There are a few easy and understandable steps to achieve your desired functionality using pure CSS that we are gonna share below. Follow each step perfectly.

Recommended For You:
How To Import CSV Files Using PHP To MySQL?

CSS:

/* Double Value Badges
---------------------------------------------- */
.double-val-label{display:inline-block;}
.double-val-label > span{background-color:#656565;color:#fff;display:table-cell;font-size:.9em;font-weight:400;line-height:1.2em;padding:.3em .6em;text-align:center;vertical-align:baseline;white-space:nowrap;}
.double-val-label > span:first-child {;border-bottom-left-radius:.25em;border-top-left-radius:.25em}
.double-val-label > span:nth-child(2){border-bottom-right-radius:.25em;border-top-right-radius:.25em}
.double-val-label > span.primary{background-color:#337ab7}
.double-val-label > span.success{background-color:#5cb85c}
.double-val-label > span.info{background-color:#5bc0de}
.double-val-label > span.warning{background-color:#f0ad4e}
.double-val-label > span.danger{background-color:#d9534f}

HTML:

<div class="double-val-label">
<span class="info">Notice</span>
<span><i class="fa fa" aria-hidden="true"></i> 100</span>
</div>
<div class="double-val-label">
<span class="success">Success</span>
<span><i class="fa fa" aria-hidden="true"></i> 100</span>
</div>
<div class="double-val-label">
<span class="warning">Warning</span>
<span><i class="fa fa" aria-hidden="true"></i> 100</span>
</div>
<div class="double-val-label">
<span class="danger">Danger</span>
<span><i class="fa fa" aria-hidden="true"></i> 100</span>
</div>

Customization:

No need to customize it. Just copy-paste. Rest edit the code as per comments and need.

Troubleshooting the Errors:

Do it with concentration and patience. Check your alls steps and again and all codes or scripts. If you find any error you can contact us anytime via comment or better via email, We are always here to help you.

Final Words:

That’s all we have. We hope that you liked this article. If you have any problem with this code in your template then feel free to contact us with a full explanation of your problem. We will reply to you as time allows us If you have any doubts and problems please comment below. We are happy to help you! If you liked this article, Don’t forget to share this with your friends so they can also take benefit from it and leave.

You Like It, Please Share This Recipe With Your Friends Using...

Be the first to write a comment.

Leave a Reply

Your email address will not be published.