Skip to content

The opacity utility contains helper classes for the CSS opacity property.

License

Notifications You must be signed in to change notification settings

iotacss/utilities.opacity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 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.

Opacity Utility

The opacity utility contains helper classes for the opacity CSS property.

Installation

npm install --save iotacss-utils-opacity

Options

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

$iota-utils-opacity-sizes     : () !default;

Example

$iota-utils-opacity-sizes: (
  30: 0.3,
  60: 0.6
);

It will generate:

.u-opacity-30 {
  opacity: 0.3 !important;
}

.u-opacity-60 {
  opacity: 0.6 !important;
}

About

The opacity utility contains helper classes for the CSS opacity property.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages