Bootstrap中Glyphicons 图标不显示问题

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u012669164/article/details/52982240

在HTML文件HEAD中加入

<style type="text/css">
		@font-face {
			font-family: 'Glyphicons Halflings';
			src: url('img/glyphicons-halflings-regular.eot');
			src: url('img/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('img/glyphicons-halflings-regular.woff') format('woff'), url('img/glyphicons-			halflings-regular.ttf') format('truetype'), url('img/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
		}
</style>
URL为相对路径

猜你喜欢

转载自blog.csdn.net/u012669164/article/details/52982240
今日推荐