Css 让引导图标正常工作
我已经将Css 让引导图标正常工作,css,twitter-bootstrap,Css,Twitter Bootstrap,我已经将bootstrap.css包含到我的html文档中。现在我一直试图显示字形图标,但它们根本不显示。有人能帮忙吗 我试过了 <i class="glyphicon glyphicon-align-justify"></i> 还有这个 <i class="glyphicon glyphicon-align-justify"></i> 和#xe055; 也试过 页面上没有显示任何内容 确保您还下载了字体文件夹
bootstrap.css
包含到我的html文档中。现在我一直试图显示字形图标
,但它们根本不显示。有人能帮忙吗
我试过了
<i class="glyphicon glyphicon-align-justify"></i>
还有这个
<i class="glyphicon glyphicon-align-justify"></i>
和#xe055;
也试过
页面上没有显示任何内容- 确保您还下载了字体文件夹
- 在bootstraps.css中搜索此类
@字体{
字体系列:“字形图标半身人”
}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');
- 确保文件的路径正确,否则您可以更改它
。/font/
目录中也有glyphicons字体吗?请提供您的html页面。当我下载引导程序时,字体目录不存在,相应的字体文件夹在引导程序v4中不再存在。图标已被删除