Using mixins for consistent slot contents

If you want to maintain consistent styling on elements, including on slot contents, you can use mixins. Mixins are basically reusable bundles of styles.

Here is an example when you want to maintain consistent image styling on slot contents. Summary: extract all the image’s styles into a mixin, and apply that mixin to any image you pass into the slot.