css - 如何在 Bootstrap glyphicons 中添加引号图标?

标签 css twitter-bootstrap-3 glyphicons

我想标题说明了一切。我正在使用的 bootstrap 3 中设置的字形图标中没有引用图标。
我知道我可以使用单独的图像,但这意味着会发出额外的请求,而且图像也不会是矢量图像。所以我想知道也许有更优雅的方式来做到这一点?

最佳答案

blockquote {
  background: #f9f9f9;
  border-left: 10px solid #ccc;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";
}

blockquote:before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}
<blockquote>I'm quoted</blockquote>

关于css - 如何在 Bootstrap glyphicons 中添加引号图标?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32322283/

相关文章:

html - 我的页脚不会留在页面底部

html - 悬停时 Bootstrap 容器弹出窗口

twitter-bootstrap - 如何在 Bootstrap 3 中证明 navbar-nav 的合理性

javascript - Bootstrap Center 两个宽度有限的进度条?

javascript - 如何在 Holder.js 图像中使用 Bootstrap Glyphicons

html - HTML 渲染中的高度问题作为 Iframe

javascript - 使用 inline-block 设置的 Safari/Chrome 重叠元素

javascript - DataTables 分页样式未设置为 Bootstrap 主题

html - 格式化标题标签中包含字形的文本

jsf - 字形图标无法正确显示