设置Bootstrap 3面包屑内容的问题

时间:2014-07-30 18:24:14

标签: twitter-bootstrap twitter-bootstrap-3

请您查看This Demo并告诉我为什么我无法更新Bootstrap 3 Breadcrumb内容?

如您所见,我将内容中的Breadcrumb CSS规则更新为"\e091",即glyphicon glyphicon-arrow-right):

.breadcrumb > li + li:before {
  padding: 0 5px;
  color: #ccc;
  content: "\e091";
}

但显然这不是在做这项工作。感谢

1 个答案:

答案 0 :(得分:2)

您需要将font-family属性设置为Glyphicons字体:

.breadcrumb > li + li:before {
  padding: 0 5px;
  color: #ccc;
  content: "\e091";
  font-family: 'Glyphicons Halflings';
}

<强> Updated fiddle