Skip to content

Instantly share code, notes, and snippets.

@tinney
Created July 12, 2011 02:01
Show Gist options
  • Save tinney/1077251 to your computer and use it in GitHub Desktop.
Save tinney/1077251 to your computer and use it in GitHub Desktop.
Using Rails 3.1 with the SASS-Rails Plugin
body {
background-image: asset_url("bg.jpg", image);
}
h1 {
background-image: url(asset_path("h1-background.jpg", image));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment