Is there a way to assign the Bootstrap link style to a non <a>
element?
I mean something like this:
<span class="link">Some text</span>
You can do so anywhere in the <body></body> tag to make the link not have an underline. Defining a style property this way is called inline styling. The style is specified "inline," in the element itself, in the body of your page.
You can use the classes btn btn-link
. These are Bootstrap link styles that usually are found on anchor tags or button tags but if you use it on any other text it will use those styles on your text. It may not yield the exact same results so your CSS may need to be tweaked.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With