niduscss-utils-state

1.1.1 • Public • Published

niduscss-utils-state

npm

Classes that represent a state of a element.

Installation

$ npm install niduscss-utils-state

Usage

Import styles:

styles.css:

/* Utilities
   ========================================================================== */
@import "niduscss-utils-state";
 
/* Other styles */

Use in html files

<!-- Block scroll in body element -->
<body class="is-not-scrolling"></body>
 
<!-- Hide the element -->
<div class="is-hidden"></div>
 
<!-- Change cursor to pointer in a div element -->
<div class="is-clickable"></div>

Changelog

/niduscss-utils-state/

    Package Sidebar

    Install

    npm i niduscss-utils-state

    Weekly Downloads

    2

    Version

    1.1.1

    License

    MIT

    Last publish

    Collaborators

    • nimedev