草莓部落
2016-07-05 16:12
为啥写完之后只是显示一个灰色的框,并没有图标?????各种浏览器都试过了
<div class="has-feedback"> <span class="glyphicon glyphicon-remove"></span> <span class="glyphicon glyphicon-search"></span> <span class="glyphicon glyphicon-asterisk"></span> <span class="glyphicon glyphicon-plus"></span> <span class="glyphicon glyphicon-cloud"></span> <span class="glyphicon glyphicon-heart"></span> </div>
应该是要和has-feedback配合使用的
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>图标</title>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
</head>
<body>
<span class="glyphicon glyphicon-search"></span>
<span class="glyphicon glyphicon-asterisk"></span>
<span class="glyphicon glyphicon-plus"></span>
<span class="glyphicon glyphicon-cloud"></span>
<span class="glyphicon glyphicon-heart"></span>
</body>
</html>
玩转Bootstrap(基础)
314546 学习 · 2275 问题
相似问题