html - 在 sing html 文件的不同部分使用不同的 Css 文件

标签 html css twitter-bootstrap

我对 css 文件有一些问题,更详细地说,我在一个 html 文件中链接了 2 个 css 样式,一个是 style.scc 和 bootstrap.css 我正在使用 Bootstrap 社交按钮,这就是我需要 Bootstrap 的原因。但这一运动几乎改变了我网站上的一切...... 那么有没有办法在单个 div 和 aver div 中调用 bootstrap.css 文件以获得原始 css 文件?

PS css Scoped 属性对我不起作用!

最佳答案

不,这是不可能的,如果您只将 bootstrap 用于社交按钮 - 只需将样式从 bootstrap.css 复制到您的样式表 (style.css)。

Scoped CSS 目前只能在 Firefox 中使用。

关于html - 在 sing html 文件的不同部分使用不同的 Css 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33151112/

相关文章:

html - 文本超出容器的问题( Bootstrap )

javascript - 字幕文本 - 获取屏幕边界外的文本长度(以像素为单位)

html - 调整 Foundation Zurb 图标的大小

javascript - 我如何根据另一个 div jQuery 中的内容显示一个 div

html - 不同浏览器中的文本和图片间距/对齐问题

javascript - 为什么是未捕获错误:$ not defined anonyomus function showing

html - 通过 html 按钮(onclick)执行 shell 命令

html - CSS - HTML : How to style li tags. 1 li 标签然后 2 正下方

javascript - 固定元素不服从 Mozilla 中 overflow hidden 的父元素

jquery - 如何使用 Bootstrap 单击时更改按钮的颜色?