Commit Graph

5 Commits

Author SHA1 Message Date
Chris Eppstein
5a015b3824 [Sass Extensions] The inline_image() function can now be used to generate a data url that embeds the image data in the generated css file.
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.
2009-06-28 12:29:19 -07:00
Noel Gomez
2126240a1a [Compass Core] [Blueprint] The compass reset is now based on Eric Meyer's reset. The old compass/reset.sass was moved to blueprint/reset.sass -- the original source for it. 2009-06-20 17:16:13 -07:00
Chris Eppstein
91832127a3 Add missing images to examples. 2009-06-20 12:29:30 -07:00
Chris Eppstein
f108fe5303 Updated the compass examples to work correctly with the images_url() function. 2009-05-02 15:18:30 -07:00
Chris Eppstein
2efbdda1e1 Made the 'rake examples' task use the command line tool instead of using custom code for compiling the examples. 2009-03-12 10:59:54 -07:00