Topic: Tags don't seem to work

Stan Naspinski free asked 6 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.

.tag-primary sets the background color, .tag sets the padding, corners etc. what is your version of Bootstrap?

Stan Naspinski free answered 6 years ago


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.

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>


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