Nitro UI: Utility Background
Utility Background component for Nitro UI.
Getting Started
Get latest version by installing via NPM @nitro-ui/utility-background:
npm install @nitro-ui/utility-background
Include this stylesheet code into your site:
<div class="u-bg-primary">u-bg-primary</div>
<div class="u-bg-white">u-bg-white</div>
<div class="u-bg-haze-light">u-bg-haze-light</div>
<div class="u-bg-haze-dark">u-bg-haze-dark</div>
<div class="u-bg-dark">u-bg-dark</div>
<div class="u-bg-gradient-light">u-bg-gradient-light</div>
<div class="u-bg-gradient-dark">u-bg-gradient-dark</div>
<img src="your-image.jpg" class="u-bg-cover"/>
Usage:
Example with <div>
tag:
<div class="u-bg-primary">u-bg-primary</div>
<img src="./images.jpg" class="u-bg-cover" style="width: 100%;"/>
Development
To extends, develop or contribute to this component, you're required to fork our main repository and made a pull request.
Development Requirements
Development tools required for this component are:
Ruby and SASS are optional if you're fully using node-sass from npm for development.
Development Setup
Run:
npm install
Compile
Run:
grunt
TODO
Nothing todo for now.
CHANGELOG
All notable changes to this project will be documented in this file. For now, let's keep TODO and CHANGELOG in README file. Keeping things simple.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.0.0-beta] - 2019-07-18
Added
- Initial setup