1.0.0 • Published 2 years ago

css-inherit-fn v1.0.0

Weekly downloads
-
License
BSD-2-Clause
Repository
-
Last release
2 years ago

JaneOri

css-inherit-fn

Enables you to write CSS that can inherit and iterate on --vars with ZERO runtime JS.

--var: calc(inherit(--var, 0) + 1);

Less and Sass buildInherit() mixins compile to vanilla CSS.

Read the documentation here: https://propjockey.github.io/css-inherit-fn/

Or skip the docs and go hands on in the live playground demos: https://propjockey.github.io/css-inherit-fn/#live-examples