Mixins SCSS Interview Questions
15 curated mixins interview questions for SCSS — with short answers, detailed explanations, and interview tips. Ideal for Fresh through Tech Lead prep.
What is an SCSS mixin?
Mixin vs function vs placeholder (%extend) — differences?
How do you pass content blocks into mixins?
Argument defaults and keyword args in mixins?
When is a mixin better than a duplicated class in HTML?
Scenario: mixin outputs vendor prefixes still — problem?
How can mixins hurt CSS bundle size?
Write a clear API for a typography mixin.
Mixin that optionally emits a modifier class — pattern?
Debugging: mixin undefined after @use migration.
Should mixins contain @extend?
Compare mixins to CSS @apply (Tailwind) philosophically.
Architecture: public mixin API for an SCSS library.
Lead: reduce mixin sprawl across 50 repos.
Output thinking: @mixin center { display:flex; justify-content:center; align-items:center; } then .hero { @include center; } ?