Quick to build up the environment of Ruby on Rails. Please refer the following blog.
[Vagrant] Using virtual machine to quick implement Ruby on Rails
2.Install compass
Updating the ruby environment
$ gem update --system
$ gem install compass
3.Create the project compass create
4.Create a new file was called style.sass
.body
display: none
.container
background: red
input
font-size: 12px
5.Compile the style.sass sass –watch
Reference :
1.CSS with superpowers
2.使用scss來加速寫css吧!
0 意見:
張貼留言