Skip to content

Instantly share code, notes, and snippets.

@ccamara
Last active December 30, 2015 03:49
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 ccamara/7772412 to your computer and use it in GitHub Desktop.
Save ccamara/7772412 to your computer and use it in GitHub Desktop.
if we are using images in #compass there's no need of using a full url path to them. We can use image-url() instead #css #scss #sass
.background-image {
background: image-url('image-name.png'); //image-url() is defined in config.rb file so its prefered
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment