Skip to content

bcherny/SASS-Base64

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

SASS-Base64

An automated SASS base64 inline image generator

Installation

gem install sass
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 would 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.

About

An automated SASS base64 inline image generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published