Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8734697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T09:53:43+00:00 2026-06-13T09:53:43+00:00

By using bootstrap I would like to display green and red labels which context

  • 0

By using bootstrap I would like to display green and red labels which context is like a v or a x.

The v should be green and the x should be red.

I wrote the following code, but I would like to have a better effect.

<span class="badge badge-success">V</span>
<span class="badge badge-important">X</span>

Any ideas how should I get it by using bootstrap?

Here is an example of what I would get by using bootstrap labels and badges.

enter image description here

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T09:53:45+00:00Added an answer on June 13, 2026 at 9:53 am

    If you used font-awesome (http://fortawesome.github.com/Font-Awesome/) in combination with Twitter bootstrap (which it’s designed for), you would be able to do something like this:

    <i class="icon-ok-sign" style="color: green; font-size: 18pt;"></i>
    <i class="icon-remove-sign" style="color: red; font-size: 18pt;"></i>
    <br/><br/>
    
    <i class="icon-ok-circle" style="color: green; font-size: 18pt;"></i>
    <i class="icon-remove-circle" style="color: red; font-size: 18pt;"></i>
    <br/><br/>
    
    <i class="icon-ok" style="color: green; font-size: 14pt;"></i>
    <i class="icon-remove" style="color: red; font-size: 14pt;"></i>
    

    Which would output this:

    enter image description here

    Or you could use CSS classes defined elsewhere to style them appropriately.

    Font-awesome is based upon SVG images and they scale to any size (within reason and use).
    You can now also subset the icons you need rather than including them all by default using icnfnt.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently using twitter bootstrap, which is working nicely, but I would like
I'm using the css form styles from Twitter Bootstrap but I would like to
I am using twitter bootstrap and I would like a container div to stretch
I'm using Bootstrap and Bootstrap Carousel in a project. I would like to know
I am using Twitter Bootstrap in a project, and would like to contrain the
I would like to bootstrap a large data set which contains multiple column and
I'm using bootstrap for my new site. I would like to use the button
I would like to open a dropdown menu (using Twitter Bootstrap) everytime I click
I would like to create a drop down menu on rails 3.2.8 using bootstrap
In my rails 3.0.10 I would like to use Bootstrap from Twitter but I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.