DEV Community

Cover image for µStyler
artydev
artydev

Posted on

µStyler

... A minimalistic CSS style injector, usable either as function or as template literal tag ...

See it in action : µStyle

import css from 'ustyler';
// const css = require('ustyler');

const style = css`
  body {
    font-size: 90px;
  }
`;

setTimeout(() => style.remove(), 1000);
Enter fullscreen mode Exit fullscreen mode

Top comments (0)