Skip to content Skip to sidebar Skip to footer

How To Add Two Class In Span Tag?

I am using bootstrap 5 and bootstrap-select . I have a PSD like this

Solution 1:

Use this for multiple classes:

<optionvalue="1"data-content="<span class='badge bg-danger'>Red</span>">
                Red
</option>

You didn't use the quotation marks here: class="badge bg-danger"

Post a Comment for "How To Add Two Class In Span Tag?"