您的位置:首页 > Web前端 > BootStrap

bootstrap字体图标

2015-10-31 21:34 441 查看
bootstrap字体图标
http://v3.bootcss.com/components/
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>无标题文档</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/bootstrap.css">
<style>
.glyphicon-heart {font-size: 100px; color: red;}
</style>
</head>
<body>

<div class="container">
<div class="glyphicon glyphicon-heart"></div>
</div>

</body>
<script src="js/jquery-2.1.3.js"></script>
<script src="js/bootstrap.js"></script>
</html>


View Code

上面demo的显示如下



如何把你的图标转换为WEB字体(可参考此链接制作字体)
http://jingyan.baidu.com/article/f79b7cb346cf499145023e78.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: