inline-images supported ?

48 views
Skip to first unread message

Joe Gaudet

unread,
Jun 7, 2011, 3:21:35 AM6/7/11
to middleman-users
Hey,

I managed to get everything working again, and was off to the races.

I was wondering if the version of compass that middle-man depends on
supports inline-images, I am looking to tune my page load for a mobile
connection, and thus would like to minimize the number of http
requests made.

However when I do something like

background: inline-image('/images/pathToMyImage')

My css fails to build without an error.

.joe

Thomas Reynolds

unread,
Jun 7, 2011, 11:39:55 AM6/7/11
to middlem...@googlegroups.com
Yes, compass and middleman support this. They are also both aware of the default images folder, so you can refer to images must more simply as a relative path:
background: inline-image('pathToMyImage')

-Thomas
Reply all
Reply to author
Forward
0 new messages