This repository was archived by the owner on Feb 1, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 308
E031
Herst edited this page Oct 20, 2018
·
3 revisions
Note: This check has been removed in Bootlint v1.x.
Glyphicon classes must only be used on elements that contain no text content and have no child elements.
Glyphicon classes only work properly on elements that contain no text content and have no child elements. Which is to say that the .glyphicon element must be completely empty.
Move any text or child elements outside of the .glyphicon element.
Wrong:
<span class="glyphicon glyphicon-heart"><a href="#love">I love this</a></span>Right:
<span class="glyphicon glyphicon-heart"></span> <a href="#love">I love this</a>Bootlint documentation wiki content is licensed under the CC BY 3.0 License, and based on Bootstrap's docs which are copyright Twitter, Inc.