왜 그런지 모르지만 부트 스트랩 (3.3.7)의 글리프콘이 누락되어 정상적이고 추악한 사각형으로 대체됩니다. 여기에 누락 된 glyphicon 호출하는 코드의 예입니다부트 스트랩 글리프가 없음
<button type="button" class="btn btn-default">
<span class="glyphicon glyphicon-star" aria-hidden="true"></span> Star
</button>
는 그리고 여기가 glyphicon의 글꼴이 들어있는 부트 스트랩의 일부입니다
당신이 그것을 업데이트해야@font-face {
font-family: 'Glyphicons Halflings';
src: url('../fonts/glyphicons-halflings-regular.eot');
src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}
글리프콘 또는 부트 스트랩 파일에 링크되는 코드 부분을 표시 할 수 있습니까? –
@BlueBoy 고마워,하지만 이미 내 문제를 해결! 그러나 부트 스트랩에서 glyphicon의 글꼴 부분을 남겼습니다. –