Переглядів 13,988
CSS actually has several mathematical functions that let you dynamically calculate and update values for any CSS property that uses a numeric value.
Code from video: gist.github.com/prof3ssorSt3v...
MDN reference for CSS functions: developer.mozilla.org/en-US/d...