CodeZettaInterview Hub

SCSS · Functions · Fresh / Intern · Comparison

What can SCSS functions do vs mixins?

Short Interview Answer

Functions return values (colors, numbers, lists) used in properties; they should not emit CSS side effects.

Detailed Explanation

Keep functions pure. Built-ins live under sass:math, sass:color, sass:map, etc. modules.

Did you know this answer?