瞎扯淡 想用 Google Bootstrap

chairy11 · 2013年06月05日 · 最后由 ichord 回复于 2013年06月06日 · 4103 次阅读

想用 google bootstrap(http://todc.github.io/todc-bootstrap/index.html

我应该选用:Google Buttons for Sass(https://github.com/brousalis/google-buttons-sass

还是 bootstrap-google-sass(https://github.com/ichord/bootstrap-google-sass

如何比较?貌似 bootstrap-google-sass 这个不含 js?

Google firefox middle click not working 第一个出来的就是 bootstrap

#1 楼 @bhuztez 不懂,什么意思?

#2 楼 @chairy11 我现在是 bootstrap 黑。

#3 楼 @bhuztez 哎呀,不要歪楼啦,帮我看看这两个用哪个靠谱,因为我不懂怎样看这些代码……

算了,我选第一个。

#6 楼 @bhuztez 不是啊,我不想用 twitter 风格的啊,你这个应该是原生的 twitter 风格的吧?

第二个好久没维护了,先跳过

目测剩下两个都不含 JavaScript

#8 楼 @bhuztez 我选了 Google Buttons for Sass,因为我看到他貌似也是 google bootstrap(todc bootstrap)的贡献者。正因为太久没更新我才犹豫的。但我看到它的使用文档有提到

//= require google-buttons

所以我猜它是含 js 的。

#9 楼 @chairy11 第一个是 todc bootstrap...

#9 楼 @chairy11 目测第二个就是把第一个从 less 换成 sass

#11 楼 @bhuztez 555555~你都没弄懂我的意思。我意思是想用 todc bootstrap 的 sass 版本的 gem……而 google-buttons-sass 和 bootstrap-google-sass 就是候选的两个 gem……

bootstrap-google-sass 用的这个 好用的

@chairy11 要和 bootstrap-sass 一起用的 http://secure-temple-8946.herokuapp.com/users/sign_in 我的 demo 用的 bootstrap-google-sass 和 bootstrap-sass

#15 楼 @zhifeilu 额,找个有效果的页面给我看看嘛……

@chairy11 你好懒呀 //= require bootstrap 在 application.js

#17 楼 @zhifeilu 难道不是这么用的嘛?

感觉没啥区别的啊…

= =. @chairy11 同学,请你先好好看看 README.md

  • 这个 gem 只是将 todc bootstrap 翻译成 scss
  • 依赖 bootstrap-sass, 必须一起用。

#20 楼 @ichord 哦,现在看明白了……那 js 呢?有没有 todc bootstrap 专用的与 twitter 不同的 js?

我用 bootstrap-google-sass,另一个没用过。顺便认证下@ichord 就是 bootstrap-google-sass 的作者……

gem 'bootstrap-sass'
gem 'bootstrap-google-sass'
需要 登录 后方可回复, 如果你还没有账号请 注册新账号