-
Notifications
You must be signed in to change notification settings - Fork 18
Embed
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');
}Just use the embed() function where ever you would normally use url() if you want to embed an image or font file.
This extension has no settings.
This extension has no hooks.