noicss.reducedmotion

Accessibility module for reduced motion by noicss. In modern vanilla CSS.


Keywords
noicss, accessibility, reducedmotion, CSS, UI
License
Other
Install
npm install noicss.reducedmotion@1.0.0

Documentation

noicss

A modular CSS collection to set you up with all kinds of things you might need.

In modern vanilla CSS.

noicss modules:

Installation:

get the whole library:

npm install noicss

or you can pick individual modules depending on your needs:

npm install noicss.reset noicss.colors noicss.toggle noicss.reducedmotion

Usage:

import the things you need into your CSS file:

@layer reset, colors, toggle, main, reducedmotion;

@import url("noicss/reset") layer(reset);
@import url("noicss/colors") layer(colors);
@import url("noicss/toggle") layer(toggle);
@import url("noicss/reducedmotion") layer(reducedmotion);

/* YOUR OWN CSS: */
@layer main {

}

or when you installed the modules individually:

@layer reset, colors, toggle, main, reducedmotion;

@import url("noicss.reset") layer(reset);
@import url("noicss.colors") layer(colors);
@import url("noicss.toggle") layer(toggle);
@import url("noicss.reducedmotion") layer(reducedmotion);

/* YOUR OWN CSS: */
@layer main {

}