Skip to content

bcherny/SASS-Base64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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