Blank placeholder for bootstrap glyphicon

I don’t think there’s a whitespace character in the glyphicon font.

Why don’t you just use a transparent font color?

.glyphicon-none:before {
    content: "\2122";
    color: transparent !important;
}

The \2122 is a minus sign. Use it like a normal icon:

<i class="glyphicon glyphicon-none"></i>

Leave a Comment