CSS Functions And Mixins Module Notes | CSS-Tricks
Briefly

This is all new and incredibly unbaked at the moment with plenty of TODO notes in the draft and points to consider in future drafts. The draft spec doesn't even have a definition for mixins yet.
Custom functions defined with an @function at-rule resemble custom properties but with parameters. The draft spec introduces a syntax for custom functions.
Read at CSS-Tricks
[
]
[
|
]