ส่วนประกอบ Bootstrap
บทนี้อธิบายการใช้งาน Bootstrap Glyphicons (Components) สมมติว่าcustom คือชื่อคลาส CSS ที่เรากำหนดขนาดและสีดังแสดงในตัวอย่างด้านล่าง
<html>
<head>
<link rel = "stylesheet" href = "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<i.custom {font-size: 2em; color: blue;}>
</head>
<body>
<i class = "glyphicon glyphicon-tree-deciduous custom"></i>
</body>
</html>
ตารางต่อไปนี้ประกอบด้วยการใช้งานและผลลัพธ์ของ Bootstrap Glyphicons (ส่วนประกอบ) แทนที่แท็ก <body> ของโปรแกรมด้านบนด้วยรหัสที่กำหนดในตารางเพื่อรับผลลัพธ์ตามลำดับ -
การใช้งาน | ผลลัพธ์ |
---|---|
<i class = "glyphicon glyphicon-asterisk กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-plus custom"> </i> | |
<i class = "glyphicon glyphicon-euro custom"> </i> | |
<i class = "glyphicon glyphicon-minus custom"> </i> | |
<i class = "glyphicon glyphicon-cloud custom"> </i> | |
<i class = "glyphicon glyphicon-ซองกำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-pencil custom"> </i> | |
<i class = "glyphicon glyphicon-glass custom"> </i> | |
<i class = "glyphicon glyphicon-music custom"> </i> | |
<i class = "glyphicon glyphicon-search custom"> </i> | |
<i class = "glyphicon glyphicon-heart custom"> </i> | |
<i class = "glyphicon glyphicon-star custom"> </i> | |
<i class = "glyphicon glyphicon-star-empty custom"> </i> | |
<i class = "glyphicon glyphicon-user custom"> </i> | |
<i class = "glyphicon glyphicon-film custom"> </i> | |
<i class = "glyphicon glyphicon-th-large custom"> </i> | |
<i class = "glyphicon glyphicon-th custom"> </i> | |
<i class = "glyphicon glyphicon-th-list custom"> </i> | |
<i class = "glyphicon glyphicon-ok custom"> </i> | |
<i class = "glyphicon glyphicon-remove custom"> </i> | |
<i class = "glyphicon glyphicon-zoom-in กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-zoom-out custom"> </i> | |
<i class = "glyphicon glyphicon-off custom"> </i> | |
<i class = "glyphicon glyphicon-signal custom"> </i> | |
<i class = "glyphicon glyphicon-cog กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-trash custom"> </i> | |
<i class = "glyphicon glyphicon-home custom"> </i> | |
<i class = "glyphicon glyphicon-file custom"> </i> | |
<i class = "glyphicon glyphicon-time custom"> </i> | |
<i class = "glyphicon glyphicon-road custom"> </i> | |
<i class = "glyphicon glyphicon-download-alt กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-download custom"> </i> | |
<i class = "glyphicon glyphicon-upload custom"> </i> | |
<i class = "glyphicon glyphicon-inbox custom"> </i> | |
<i class = "glyphicon glyphicon-play-circle custom"> </i> | |
<i class = "glyphicon glyphicon-repeat custom"> </i> | |
<i class = "glyphicon glyphicon-refresh custom"> </i> | |
<i class = "glyphicon glyphicon-list-alt กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-lock custom"> </i> | |
<i class = "glyphicon glyphicon-flag กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-headphones custom"> </i> | |
<i class = "glyphicon glyphicon-volume-off custom"> </i> | |
<i class = "glyphicon glyphicon-volume-down custom"> </i> | |
<i class = "glyphicon glyphicon-volume-up custom"> </i> | |
<i class = "glyphicon glyphicon-qrcode กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-barcode กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-tag custom"> </i> | |
<i class = "glyphicon glyphicon-tags custom"> </i> | |
<i class = "glyphicon glyphicon-book custom"> </i> | |
<i class = "glyphicon glyphicon-bookmark custom"> </i> | |
<i class = "glyphicon glyphicon-print custom"> </i> | |
<i class = "glyphicon glyphicon-camera custom"> </i> | |
<i class = "glyphicon glyphicon-font custom"> </i> | |
<i class = "glyphicon glyphicon-bold custom"> </i> | |
<i class = "glyphicon glyphicon-italic custom"> </i> | |
<i class = "glyphicon glyphicon-text-height custom"> </i> | |
<i class = "glyphicon glyphicon-text-width กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-align-left custom"> </i> | |
<i class = "glyphicon glyphicon-align-center custom"> </i> | |
<i class = "glyphicon glyphicon-align-right custom"> </i> | |
<i class = "glyphicon glyphicon-align-justify custom"> </i> | |
<i class = "glyphicon glyphicon-list custom"> </i> | |
<i class = "glyphicon glyphicon-indent-left custom"> </i> | |
<i class = "glyphicon glyphicon-indent-right custom"> </i> | |
<i class = "glyphicon glyphicon-facetime-video กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-picture custom"> </i> | |
<i class = "glyphicon glyphicon-map-marker กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-adjustment custom"> </i> | |
<i class = "glyphicon glyphicon-tint custom"> </i> | |
<i class = "glyphicon glyphicon-edit custom"> </i> | |
<i class = "glyphicon glyphicon-share custom"> </i> | |
<i class = "glyphicon glyphicon-check custom"> </i> | |
<i class = "glyphicon glyphicon-move custom"> </i> | |
<i class = "glyphicon glyphicon-step-backward custom"> </i> | |
<i class = "glyphicon glyphicon-fast-backward custom"> </i> | |
<i class = "glyphicon glyphicon-backward custom"> </i> | |
<i class = "glyphicon glyphicon-play custom"> </i> | |
<i class = "glyphicon glyphicon-pause custom"> </i> | |
<i class = "glyphicon glyphicon-stop custom"> </i> | |
<i class = "glyphicon glyphicon-forward custom"> </i> | |
<i class = "glyphicon glyphicon-fast-forward custom"> </i> | |
<i class = "glyphicon glyphicon-step-forward custom"> </i> | |
<i class = "glyphicon glyphicon-eject custom"> </i> | |
<i class = "glyphicon glyphicon-chevron-left กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-chevron-right custom"> </i> | |
<i class = "glyphicon glyphicon-plus-sign กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-minus-sign กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-remove-sign กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-ok-sign กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-question-sign custom"> </i> | |
<i class = "glyphicon glyphicon-info-sign custom"> </i> | |
<i class = "glyphicon glyphicon-screenshot custom"> </i> | |
<i class = "glyphicon glyphicon-remove-circle custom"> </i> | |
<i class = "glyphicon glyphicon-ok-circle กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-ban-circle กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-arrow-left custom"> </i> | |
<i class = "glyphicon glyphicon-arrow-right custom"> </i> | |
<i class = "glyphicon glyphicon-arrow-up custom"> </i> | |
<i class = "glyphicon glyphicon-arrow-down custom"> </i> | |
<i class = "glyphicon glyphicon-share-alt กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-resize-full custom"> </i> | |
<i class = "glyphicon glyphicon-resize-small custom"> </i> | |
<i class = "glyphicon glyphicon-exclamation-sign custom"> </i> | |
<i class = "glyphicon glyphicon-gift custom"> </i> | |
<i class = "glyphicon glyphicon-leaf custom"> </i> | |
<i class = "glyphicon glyphicon-fire custom"> </i> | |
<i class = "glyphicon glyphicon-eye-open custom"> </i> | |
<i class = "glyphicon glyphicon-eye-close custom"> </i> | |
<i class = "glyphicon glyphicon-warning-sign custom"> </i> | |
<i class = "glyphicon glyphicon-plane custom"> </i> | |
<i class = "glyphicon glyphicon-calendar custom"> </i> | |
<i class = "glyphicon glyphicon-random custom"> </i> | |
<i class = "glyphicon glyphicon-comment custom"> </i> | |
<i class = "glyphicon glyphicon-magnet custom"> </i> | |
<i class = "glyphicon glyphicon-chevron-up custom"> </i> | |
<i class = "glyphicon glyphicon-chevron-down custom"> </i> | |
<i class = "glyphicon glyphicon-retweet custom"> </i> | |
<i class = "glyphicon glyphicon-shopping-cart custom"> </i> | |
<i class = "glyphicon glyphicon-folder-close custom"> </i> | |
<i class = "glyphicon glyphicon-folder-open custom"> </i> | |
<i class = "glyphicon glyphicon-resize-vertical กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-resize-horizontal custom"> </i> | |
<i class = "glyphicon glyphicon-hdd กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-bullhorn custom"> </i> | |
<i class = "glyphicon glyphicon-bell custom"> </i> | |
<i class = "glyphicon glyphicon-certificate custom"> </i> | |
<i class = "glyphicon glyphicon-thumbs-up custom"> </i> | |
<i class = "glyphicon glyphicon-thumbs-down custom"> </i> | |
<i class = "glyphicon glyphicon-hand-right custom"> </i> | |
<i class = "glyphicon glyphicon-hand-left custom"> </i> | |
<i class = "glyphicon glyphicon-hand-up custom"> </i> | |
<i class = "glyphicon glyphicon-hand-down custom"> </i> | |
<i class = "glyphicon glyphicon-circle-arrow-right custom"> </i> | |
<i class = "glyphicon glyphicon-circle-arrow-left กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-circle-arrow-up custom"> </i> | |
<i class = "glyphicon glyphicon-circle-arrow-down custom"> </i> | |
<i class = "glyphicon glyphicon-global custom"> </i> | |
<i class = "glyphicon glyphicon-wrench custom"> </i> | |
<i class = "glyphicon glyphicon-task custom"> </i> | |
<i class = "glyphicon glyphicon-filter custom"> </i> | |
<i class = "glyphicon glyphicon-briefcase custom"> </i> | |
<i class = "glyphicon glyphicon-fullscreen custom"> </i> | |
<i class = "glyphicon glyphicon-dashboard custom"> </i> | |
<i class = "glyphicon glyphicon-paperclip กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-heart-empty custom"> </i> | |
<i class = "glyphicon glyphicon-link custom"> </i> | |
<i class = "glyphicon glyphicon-phone custom"> </i> | |
<i class = "glyphicon glyphicon-pushpin custom"> </i> | |
<i class = "glyphicon glyphicon-usd กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-gbp custom"> </i> | |
<i class = "glyphicon glyphicon-sort custom"> </i> | |
<i class = "glyphicon glyphicon-sort-by-alphabet custom"> </i> | |
<i class = "glyphicon glyphicon-sort-by-alphabet-alt กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-sort-by-order custom"> </i> | |
<i class = "glyphicon glyphicon-sort-by-order-alt กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-sort-by-attributes custom"> </i> | |
<i class = "glyphicon glyphicon-sort-by-attributes-alt กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-unchecked custom"> </i> | |
<i class = "glyphicon glyphicon-expand custom"> </i> | |
<i class = "glyphicon glyphicon-fold-down custom"> </i> | |
<i class = "glyphicon glyphicon-collision-up custom"> </i> | |
<i class = "glyphicon glyphicon-log-in custom"> </i> | |
<i class = "glyphicon glyphicon-flash กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-log-out custom"> </i> | |
<i class = "glyphicon glyphicon-new-window custom"> </i> | |
<i class = "glyphicon glyphicon-record custom"> </i> | |
<i class = "glyphicon glyphicon-save custom"> </i> | |
<i class = "glyphicon glyphicon-open custom"> </i> | |
<i class = "glyphicon glyphicon-save custom"> </i> | |
<i class = "glyphicon glyphicon-import custom"> </i> | |
<i class = "glyphicon glyphicon-export custom"> </i> | |
<i class = "glyphicon glyphicon-send กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-floppy-disk กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-floppy-saved custom"> </i> | |
<i class = "glyphicon glyphicon-floppy-remove custom"> </i> | |
<i class = "glyphicon glyphicon-floppy-save custom"> </i> | |
<i class = "glyphicon glyphicon-floppy-open custom"> </i> | |
<i class = "glyphicon glyphicon-credit-card custom"> </i> | |
<i class = "glyphicon glyphicon-transfer custom"> </i> | |
<i class = "glyphicon glyphicon-cutlery custom"> </i> | |
<i class = "glyphicon glyphicon-header custom"> </i> | |
<i class = "glyphicon glyphicon-compression custom"> </i> | |
<i class = "glyphicon glyphicon-earphone custom"> </i> | |
<i class = "glyphicon glyphicon-phone custom"> </i> | |
<i class = "glyphicon glyphicon-tower custom"> </i> | |
<i class = "glyphicon glyphicon-stats custom"> </i> | |
<i class = "glyphicon glyphicon-sd-video กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-hd-video กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-subtitles custom"> </i> | |
<i class = "glyphicon glyphicon-sound-stereo custom"> </i> | |
<i class = "glyphicon glyphicon-sound-dolby กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-sound-5-1 กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-sound-6-1 กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-sound-7-1 กำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-copyright-mark custom"> </i> | |
<i class = "glyphicon glyphicon-register-mark custom"> </i> | |
<i class = "glyphicon glyphicon-cloud-download แบบกำหนดเอง"> </i> | |
<i class = "glyphicon glyphicon-cloud-upload custom"> </i> | |
<i class = "glyphicon glyphicon-tree-conifer custom"> </i> | |
<i class = "glyphicon glyphicon-tree-deciduous custom"> </i> |