Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
An automated SASS base64 inline image generator
Python
branch: master
Failed to load latest commit information.
demo
scour
.gitignore
readme.md updated readme
url64.rb

readme.md

SASS-Base64

An automated SASS base64 inline image generator

Installation

sudo gem install sass
sudo gem install smusher

Starting SASS from the command line

When starting SASS from the command line, be sure to invoke the url64 module:

sass --watch sass:css -r ./sass/functions/url64.rb

Usage

Accepts a variety of formats (GIF/JPG/PNG/SVG), in any CSS declaration. Use url64 anywhere you'd use a plain old url. For example:

background-image: url64("../images/image.png")

NB: Be sure to use quotes around your URL, otherwise SASS will throw an error.

Something went wrong with that request. Please try again.