Render Flow - Extending vs mixing comparison
Write .button styles
→Create CSS rules for .button
Use @extend in .primary
→Add .primary styles by reusing .button rules
Use @mixin in .secondary
→Insert mixin styles into .secondary
Compile final CSS with combined rules
The Sass compiler reads base styles, then applies @extend by merging selectors, and @mixin by copying styles into the target selector, producing final CSS.