Link Search Menu Expand Document

Basic Glyphicons

Table of contents

  1. Glyphicons
    1. Glyphicon Syntax
    2. Glyphicons Example

Glyphicons

특수문자 전용 글꼴처리

▸ 텍스트, 버튼, 도구 모음, 탐색, 양식 등에서 사용

▸ 폰트이기 때문에 css로 컬러를 바꿀 수 있음

공식사이트

Glyphicon Syntax

▸ glyphicon-name은 아이콘에 따라 달라짐

syntax

<span class=”glyphicon glyphicon-name”></span>

Glyphicons Example

<div class="container">
  <h2>Glyphicon Examples</h2>
  <p>Envelope icon: <span class="glyphicon glyphicon-envelope"></span></p>
  <p>Envelope icon as a link:
    <a href="#"><span class="glyphicon glyphicon-envelope"></span></a>
  </p>
  <p>Search icon: <span class="glyphicon glyphicon-search"></span></p>
  <p>Search icon on a button:
    <button type="button" class="btn btn-default">
      <span class="glyphicon glyphicon-search"></span> Search
    </button>
  </p>
  <p>Search icon on a styled button:
    <button type="button" class="btn btn-info">
      <span class="glyphicon glyphicon-search"></span> Search
    </button>
  </p>
  <p>Print icon: <span class="glyphicon glyphicon-print"></span></p>      
  <p>Print icon on a styled link button:
    <a href="#" class="btn btn-success btn-lg">
      <span class="glyphicon glyphicon-print"></span> Print 
    </a>
  </p> 
</div>

이 웹사이트는 jekyll로 제작되었습니다. Patrick Marsceill, Distributed by an MIT license.