CodeZettaInterview Hub

SCSS · Mixins · Tech Lead · Code Output

Output thinking: @mixin center { display:flex; justify-content:center; align-items:center; } then .hero { @include center; } ?

Short Interview Answer

.hero { display:flex; justify-content:center; align-items:center; } — declarations inlined.

Detailed Explanation

Simple includes are readable; still consider a utility class if reused everywhere.

Did you know this answer?