CSS functions extend CSS to give it a more “programming language” set of features, i.e. we can create functions, with parameters, even add type safety and return values. Let’s start by looking at the basic syntax on a simple function which returns a given value depending on the “responsive design” size. @function --responsive(--sm, --md, --lg: […]