Postcss Inline Image banner
f f

Postcss Inline Image

Data community

Description

PostCSS plugin that puts images as data URIs into your CSS

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

PostCSS Inline Image [![Build Status][ci-img]][ci]

[PostCSS] plugin that puts images as data URIs into your CSS.

.foo {
    background-inline-image: url(one_pixel_transparent.gif);
}
.foo {
    background-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==);
}

Usage

postcss([ require('postcss-inline-image') ])

See [PostCSS] docs for examples for your environment.