glyphicons CSS没有加载

问题描述 投票:0回答:1

我在浏览器控制台中收到错误::

glyphicons-halflings-regular.woff2:1 Failed to load resource: the server responded with a status of 404 (Not Found)
glyphicons-halflings-regular.woff:1 Failed to load resource: the server responded with a status of 404 (Not Found)
glyphicons-halflings-regular.ttf:1 Failed to load resource: the server responded with a status of 404 (Not Found)

当我检查元素时,我看到::

::before == $0

这是什么意思 ?

inspect元素中的css显示::

a[aria-expanded="false"]::before, a[aria-expanded="true"]::before {
    content: '\e259';
    display: block;
    position: absolute;
    right: 20px;
    font-family: 'Glyphicons Halflings';
    font-size: 0.6em;
}
a[aria-expanded="true"]::before {
    content: '\e260';
}

这是什么意思content: '\e259'; ?

css asp.net twitter-bootstrap glyphicons
1个回答
0
投票

你有导入Bootstrap?

确保正确导入引导程序。

https://getbootstrap.com/docs/4.3/getting-started/introduction/

© www.soinside.com 2019 - 2024. All rights reserved.