Package Exports
- tailwindcss-background-extended
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tailwindcss-background-extended) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Tailwind CSS Background Extended Plugin
This plugin adds all of the missing background utilities to Tailwind CSS.
Installation
Add this plugin to your project:
# Install using npm
npm install --save-dev tailwindcss-background-extended
# Install using yarn
yarn add -D tailwindcss-background-extended
Notes
I will be adding support for creating classes for background-image
, background-position
and background-size
soon-ish. Feel free to open an issue if you need it before I get to it.
Usage
require('tailwindcss-background-extended')(['responsive'])
.bg-scroll { background-attachment: scroll; }
.bg-fixed { background-attachment: fixed; }
.bg-local { background-attachment: local; }
.bg-clip-border { background-clip: border-box; }
.bg-clip-padding { background-clip: padding-box; }
.bg-clip-content { background-clip: content-box; }
.bg-clip-text { background-clip: text; }
.bg-origin-border { background-origin: border-box; }
.bg-origin-padding { background-origin: padding-box; }
.bg-origin-content { background-origin: content-box; }
.bg-space { background-repeat: space; }
.bg-round { background-repeat: round; }