gpt4 book ai didi

css - 显示为正方形的字形 (bootstrap 3.2.0)

转载 作者:行者123 更新时间:2023-11-28 16:46:01 26 4
gpt4 key购买 nike

我正在尝试使用以下内容加载搜索字形图标:

<div tabindex="6" class="glyphicon glyphicon-search">...<.div>

但是,glyphicon 加载如下:

enter image description here

解决方案是什么?

background-color:none transparent}@font-face{font-family:'Glyphicons Halflings';src:url(/css/fonts/glyphicons-halflings-regular.eot);src:url(/css/fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(/css/fonts/glyphicons-halflings-regular.woff) format('woff'),url(/css/fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(/css/fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular)

最佳答案

检查这段代码

<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css">
</head>
<body>
<div tabindex="6">
<span class="glyphicon glyphicon-search"></span>
<div>
</body>
</html>

关于css - 显示为正方形的字形 (bootstrap 3.2.0),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33166827/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com