# Sass Mixins vs. @extend: Comparing CSS Performance After Gzip Compression

DevFeed: [Sass Mixins vs. @extend: Comparing CSS Performance After Gzip Compression](<https://devfeed.tech/articles/mixins-better-for-performance-45599.md>)

Original publisher: [Read original article](<https://csswizardry.com/2016/02/mixins-better-for-performance/>)

Author: Harry Roberts

Published: 2016-02-25T08:55:12Z

Content type: article

Language: en

Sources: [CSS Wizardry](<https://devfeed.tech/sources/css-wizardry.md>)

Topics: [Sass](<https://devfeed.tech/topics/sass.md>), [extend](<https://devfeed.tech/topics/extend.md>), [CSS](<https://devfeed.tech/topics/css.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [Compression](<https://devfeed.tech/topics/compression.md>)

Tags: [compression](<https://devfeed.tech/tags/compression.md>), [css](<https://devfeed.tech/tags/css.md>), [experiment](<https://devfeed.tech/tags/experiment.md>), [extend](<https://devfeed.tech/tags/extend.md>), [mixins](<https://devfeed.tech/tags/mixins.md>), [performance](<https://devfeed.tech/tags/performance.md>), [sass](<https://devfeed.tech/tags/sass.md>)

## AI overview

This article investigates whether Sass mixins or @extend produces better CSS performance. It argues that network size after gzip compression matters more than the uncompressed file size and describes an experiment comparing the two approaches.

## Source excerpt

A look at the performance difference between Sass' mixins and @extend