···1717yarn add -D tailwindcss-background-extended
1818```
19192020-## Notes
2020+## Usage
21212222-I will be adding support for creating classes for `background` and `background-image` soon-ish. Feel free to open an issue if you need it before I get to it.
2222+```js
2323+// tailwind.config.js
2424+{
2525+ theme: {
2626+ backgroundImage: { // defaults to {}
2727+ tailwindcss: "url('https://avatars0.githubusercontent.com/u/30317862')",
2828+ },
2929+ },
23302424-## Usage
3131+ variants: { // all the following default to ['responsive']
3232+ backgroundImage: ['responsive'],
3333+ backgroundClip: ['responsive'],
3434+ backgroundOrigin: ['responsive'],
3535+ },
25362626-```js
2727-require('tailwindcss-background-extended')(['responsive'])
3737+ plugins: [
3838+ require('tailwindcss-background-extended'), // no options to configure
3939+ ],
4040+}
2841```
29423043```css
4444+.bg-image-tailwindcss { background-image: url('https://avatars0.githubusercontent.com/u/30317862'); }
4545+3146.bg-clip-border { background-clip: border-box; }
3247.bg-clip-padding { background-clip: padding-box; }
3348.bg-clip-content { background-clip: content-box; }