Skip to content
This repository has been archived by the owner on Sep 18, 2018. It is now read-only.
Herst edited this page Sep 8, 2018 · 3 revisions

Note: Below is the original page from the Bootlint documentation, some of the info here might not apply to Bootlint-NG!


E031

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>
Clone this wiki locally