Skip to content

Instantly share code, notes, and snippets.

@gentamura
Created July 1, 2013 09:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gentamura/5899436 to your computer and use it in GitHub Desktop.
Save gentamura/5899436 to your computer and use it in GitHub Desktop.
Rails + Compass でCSSの開発を高速化! ref: http://qiita.com/GenTamura84/items/2b24b93026081ad36bb1
be compass init rails
.box {
width: 100px;
height: 100px;
background: gray;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
-ms-border-radius: 10px;
-o-border-radius: 10px;
border-radius: 10px;
}
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem 'compass-rails'
gem 'uglifier', '>= 1.0.3'
end
@import "icons/*.png";
@include all-icons-sprites;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment