> For the complete documentation index, see [llms.txt](https://bharat-tiwari.gitbook.io/our-tech-journal/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bharat-tiwari.gitbook.io/our-tech-journal/sass/sass-mixins.md).

# Mixins

A `mixin` is like a function that allows us to define a set of CSS declarations and make it reusable by parameterizing it. One of the very common use case of `mixin` is for properties that need vendor prefixes. With so many vendor prefixes, its very tedious to declare a property that needs vendor prefix, especially when we are declaring multiple CSS classes that use the same property with different sets of the property values.

## Example

[JSFiddle](https://jsfiddle.net/tiwarib/a9err95o/#tabs=css,html,result)
