四.组件之图标&下拉菜单&按钮组&按钮式下拉菜单
1.图标组件
①使用图标
1)注意:必须把官方的fonts文件夹引到项目中
2)使用实现图标组件:<i class=”glyphicon glyphicon-heart”>
3)使用实现图标组件:<span class=”glyphicon glyphicon-heart”>
②结合按钮使用图标
1)<button class=”btn btn-default btn-sm”>
<span class=”glyphicon glyphicon-heart”>
2.下拉菜单组件
①基本下拉菜单组件格式:
Bootstrap04(组件之图标&下拉菜单&按钮组&按钮式下拉菜单)
最新推荐文章于 2024-06-03 20:31:46 发布