5a015b3824
This function works like image_url() in that it expects the image to be a path relative to the images directory. There are clear advantages and disadvantages to this approach. See http://en.wikipedia.org/wiki/Data_URI_scheme for more details. NOTE: Neither IE6 nor IE7 support data urls. Using this approach with large images is discouraged.
7 lines
113 B
Sass
7 lines
113 B
Sass
.showgrid
|
|
background-image= image_url("grid.png")
|
|
|
|
.inlinegrid
|
|
background-image= inline_image("grid.png")
|
|
|