GitHub - sindresorhus/css-extras: Useful CSS custom functions using the new @function rule
css-extras
A collection of useful CSS custom functions
A comprehensive collection of CSS custom functions that leverage the new native CSS @function rule.
No build step required! Feel free to copy-paste what you need. No credit needed.
Requirements
Currently only supported in Chrome 141+. The @function rule is going through the W3C standardization process and will be available in other browsers soon.
Install
Usage
Or link directly in HTML:
<link rel="stylesheet" href="node_modules/css-extras/ind...
Read more at github.com