1.0.0 • Published 10 years ago
pizza-background v1.0.0
pizza-background
fill the background of an element with pizza
Install
Available via npm:
npm i --save pizza-backgroundUsage
Include in your css with an @import statement:
@import "pizza-background";Bundle your css dependencies with a tool like sheetify:
npm i --save-dev sheetifyCreate a bundle-css script in your package.json file:
"scripts": {
"bundle-css": "sheetify style.css > bundle.css"
}Add your bundled css to your html:
<link href="bundle.css" rel="stylesheet">Use the pizza class:
<body class="pizza"></body>Sidenote: make sure the element & its parent elements have a width and height.
License
MIT
1.0.0
10 years ago