Tags don't seem to work

Stan Naspinski asked 10 years ago

Pretty simple, tags are not working, for example:
<span class="tag tag-default">Default</span>
<span class="tag tag-primary">Primary</span>
Doesn't seem to have any styling, for example, upon inspection in Chrome, it looks as if the background color was never changed.

Bartłomiej Malanowski staff pro premium answered 10 years ago

You can use any color from our color palette instead. For example:
<span class="tag default-color">Default</span>
<span class="tag primar-color">Primary</span>

Sure that sets a background color, but does not style it with the padding, shadows, corners that are shown here: http://mdbootstrap.com/components/tags/ I would really like to use what is advertised on this page.

Bartłomiej Malanowski staff pro premium answered 10 years ago

.tag-primary sets the background color, .tag sets the padding, corners etc. what is your version of Bootstrap?
Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags