<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yayoi-tech</author_name>
  <author_url>https://blog.hatena.ne.jp/yayoi-tech/</author_url>
  <blog_title>弥生研究所</blog_title>
  <blog_url>https://yayoi.tech/</blog_url>
  <categories>
    <anon>programming</anon>
  </categories>
  <description>SCSS ではソースコードを共通化する機能として、mixin(include) と、extend が用意されています。 比較的単純な共通化であれば、mixin も extend も同じ役割を担うことができるため、機能的な違いだけで mixin と extend を使い分けることが難しい場合があります。 そこで、mixin と extend のどちらでも実装できる状況で、どちらを選択すべきなのかをまとめました。 結論 コードを共通化するのが目的なら、まず mixin を検討する グループ化したいときのみ、extend を検討する 機能的な違い さっくりと、基本的な機能の違いを確認します。 Mix…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyayoi.tech%2Fentry%2Fsass_difference_between_mixin_and_extend&quot; title=&quot;【SCSS】Mixin と Extend の違いと使い分け - 弥生研究所&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn.user.blog.st-hatena.com/default_entry_og_image/153891454/1569912507511784</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-01-15 18:00:00</published>
  <title>【SCSS】Mixin と Extend の違いと使い分け</title>
  <type>rich</type>
  <url>https://yayoi.tech/entry/sass_difference_between_mixin_and_extend</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
