Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 528 Bytes

stylis.md

File metadata and controls

26 lines (18 loc) · 528 Bytes

stylis Addon

Adds stylis pre-processor. This allows you to write CSS as a string using stylis syntax everywhere where CSS-like object is expected.

const className = nano.rule(`
    color: red;
    &:hover {
        color: blue
    }
`);

Nota Bene

If you use stylis pre-processor some other addons may not work with it.


Installation

Simply install stylis addon. Read more about the Addon Installation.