Skip to content
Anthony Short edited this page Aug 15, 2010 · 1 revision

This extension embeds images and fonts within the CSS using Base64 encoding. It adds a new CSS function call embed() which has the same syntax as the url() function.

Currently it doesn’t support Internet Explorer so you’ll need to have a backup rule to account for IE.

#id
{
    background-image:url('path/to/image.png'); /* For IE */
    background-image:embed('path/to/image.png'); 
}

Usage

Just use the embed() function where ever you would normally use url() if you want to embed an image or font file.

Settings

This extension has no settings.

Hooks

This extension has no hooks.

Clone this wiki locally