Skip to content

iotacss/utilities.bgcolor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

iotaCSS is now a monorepo and all individual repositories are part of it. Please open issues or PRs here: https://github.com/iotacss/iotacss.

Background Color Utility

The background color utility contains helper classes for the background-color CSS property.

Installation

npm install --save iotacss-utils-bgcolor

Options

$iota-utils-bgcolor-namespace : 'bgcolor-' !default;

$iota-utils-bgcolor-names     : () !default;

Example

$iota-bgcolor-names: (
  white: #FFFFFF,
  black: #000000
);

It will generate:

.u-bgcolor-white {
  background-color: #FFFFFF !important;
}

.u-bgcolor-black {
  background-color: #000000 !important;
}

About

Background Color utility for iotaCSS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages