截至 2012-02-20 15:02:38 +0800,共收到 7 條回應
匿名
1樓, 於2012-02-14 16:20:42 +0800回應
twitter-bootstrap-rails, 已更新到2.0了
chitsung
2樓, 於2012-02-14 21:25:44 +0800回應
twitter-bootstrap-rails +1
tsechingho
3樓, 於2012-02-15 10:16:49 +0800回應
如果你用 sass,請用 http://github.com/anjlab/bootstrap-rails
如果要用 less,請用 http://github.com/seyhunak/twitter-bootstrap-rails
另外配合 http://github.com/plataformatec/simple_form 來調整 form 的話會很方便
run26kimo
4樓, 於2012-02-15 11:41:13 +0800回應
想請問 sass 和 less 版本有什麼不同, 有什麼優缺
我在使用 twitter-bootstrap-rails 會出現 Less::ParseError
http://img.skitch.com/20120215-1q6wtwj1j2rxcmpdbnt1a1xkg9.jpg
chitsung
5樓, 於2012-02-15 11:53:43 +0800回應
先前我都用sass,最近因為要使用 twitter bootstrap,改用 less。
less 跟 scss 都很接近於原始的 css 語法。sass 的語法更精簡。
不過 less 能直接引入既有的 class,我覺得這很有趣。
例如
.large{
font-size: 20em;
}
h1{
.large;
}
非常簡潔的 mixin 寫法。
xdite
6樓, 於2012-02-15 23:25:19 +0800回應
我都用 anjlab 的版本
littlebtc
7樓, 於2012-02-20 15:02:38 +0800回應
我在 TouchLimit 裡用的是 http://github.com/thomas-mcdonald/bootstrap-sass
(bootstrap-sass on RubyGems)