Bootstrap 2.3.2 中的字形符号
GLYPHICONS in Bootstrap 2.3.2
如何在 Bootstrap 2.3.2 中使用 GLYPHICONS?我已经下载了 Glyphicons ZIP。但我不知道如何安装它。有人可以帮帮我吗?
文档页面向您展示了如何:
http://getbootstrap.com/2.3.2/base-css.html#icons
我本来不想回答这个问题,而是post发表评论,但我没有足够的声誉。如果这不是您想要的,请详细说明您的情况。
更新
这是一个在按钮中带有 'search' 图标的工作示例:
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<style>
body {
margin-top: 60px;
}
</style>
</head>
<body>
<div class="container">
<button class="btn btn-large" type="button"><i class="icon-search"></i> Search</button>
</div>
</body>
</html>
这是相应的结果:
如何在 Bootstrap 2.3.2 中使用 GLYPHICONS?我已经下载了 Glyphicons ZIP。但我不知道如何安装它。有人可以帮帮我吗?
文档页面向您展示了如何: http://getbootstrap.com/2.3.2/base-css.html#icons
我本来不想回答这个问题,而是post发表评论,但我没有足够的声誉。如果这不是您想要的,请详细说明您的情况。
更新
这是一个在按钮中带有 'search' 图标的工作示例:
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<style>
body {
margin-top: 60px;
}
</style>
</head>
<body>
<div class="container">
<button class="btn btn-large" type="button"><i class="icon-search"></i> Search</button>
</div>
</body>
</html>
这是相应的结果: