新手问题 如何查看 gem 'bootstrap-sass'中 bootstrap 代码

sec · 2016年10月18日 · 最后由 ruby_sky 回复于 2016年10月18日 · 1558 次阅读

gem 'bootstrap-sass', '~> 3.3.5.1'

<h1>users</h1>
<div class="alert alert-success">Success</div>  

页面效果:

  • 问题: 虽然页面有 alert 样式效果,但是却找不到在哪个 css 文件编写的样式布局. 除了 alert 外,还有哪些 bootstrap 样式?

bootstrap 是一个前端库,或者叫做框架也可以。源码在https://github.com/twbs/bootstrap bootstrap-sass 是一个 ruby 库,仅仅是帮你快速即成 bootstrap

😄,说错了,sass 版本的 bootstrap,源码在https://github.com/twbs/bootstrap-sass

#1 楼 @flowerwrong 谢谢!

问题:请问为什么在 bootstrap 版本中有如下图的样式源码,而 bootstrop-sass 版本却没有样式源码..

bundle open bootstrap-sass

sec 关闭了讨论。 10月19日 09:31
需要 登录 后方可回复, 如果你还没有账号请 注册新账号