diff options
| author | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2021-11-06 02:52:27 +0900 |
|---|---|---|
| committer | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2021-11-15 01:41:04 +0900 |
| commit | f0c088798e51af482a21bbd9ae79097a10274ddc (patch) | |
| tree | 77a0841141e32c1eae7334e0eb4199caf583da5a /files/ja/web/css/background-blend-mode/index.html | |
| parent | 1d1710ca01bfc45afd032a4e06d19f361635fc8e (diff) | |
| download | translated-content-f0c088798e51af482a21bbd9ae79097a10274ddc.tar.gz translated-content-f0c088798e51af482a21bbd9ae79097a10274ddc.tar.bz2 translated-content-f0c088798e51af482a21bbd9ae79097a10274ddc.zip | |
Compositing_and_Blending の文書を変換準備
Diffstat (limited to 'files/ja/web/css/background-blend-mode/index.html')
| -rw-r--r-- | files/ja/web/css/background-blend-mode/index.html | 112 |
1 files changed, 0 insertions, 112 deletions
diff --git a/files/ja/web/css/background-blend-mode/index.html b/files/ja/web/css/background-blend-mode/index.html deleted file mode 100644 index 671ade8f21..0000000000 --- a/files/ja/web/css/background-blend-mode/index.html +++ /dev/null @@ -1,112 +0,0 @@ ---- -title: background-blend-mode -slug: Web/CSS/background-blend-mode -tags: - - CSS - - CSS プロパティ - - Reference - - 合成と混合 -translation_of: Web/CSS/background-blend-mode ---- -<div>{{CSSRef}}</div> - -<p><a href="/ja/docs/Web/CSS">CSS</a> の <strong><code>background-blend-mode</code></strong> プロパティは、要素の背景画像を互いに、または要素の背景色と、どのように混合するかを設定します。</p> - -<div>{{EmbedInteractiveExample("pages/css/background-blend-mode.html")}}</div> - -<p class="hidden">このデモのソースファイルは GitHub リポジトリに格納されています。デモプロジェクトに協力したい場合は、 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> をクローンしてプルリクエストを送信してください。</p> - -<p>混合モードは {{cssxref("background-image")}} プロパティと同じ順番で定義してください。混合モードのリストと背景画像のリストの長さが異なる場合は、長さが合うまで繰り返しや短縮が行われます。</p> - -<h2 id="Syntax" name="Syntax">構文</h2> - -<pre class="brush:css no-line-numbers">/* 1 値 */ -background-blend-mode: normal; - -/* 2 値、背景ごとにひとつずつ */ -background-blend-mode: darken, luminosity; - -/* グローバル値 */ -background-blend-mode: initial; -background-blend-mode: inherit; -background-blend-mode: unset; -</pre> - -<h3 id="Values" name="Values">値</h3> - -<dl> - <dt>{{cssxref("<blend-mode>")}}</dt> - <dd>適用する混合モードです。複数の値をコンマ区切りで置くことができます。</dd> -</dl> - -<h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> - -{{csssyntax}} - -<h2 id="Examples" name="Examples">例</h2> - -<pre class="brush: html hidden"><div id="div"></div> -<select id="select"> - <option>normal</option> - <option>multiply</option> - <option selected>screen</option> - <option>overlay</option> - <option>darken</option> - <option>lighten</option> - <option>color-dodge</option> - <option>color-burn</option> - <option>hard-light</option> - <option>soft-light</option> - <option>difference</option> - <option>exclusion</option> - <option>hue</option> - <option>saturation</option> - <option>color</option> - <option>luminosity</option> -</select></pre> - -<pre class="brush: css hidden">#div { - width: 300px; - height: 300px; - background: url('https://mdn.mozillademos.org/files/8543/br.png'),url('https://mdn.mozillademos.org/files/8545/tr.png'); - background-blend-mode: screen; -}</pre> - -<pre class="brush: js hidden">document.getElementById("select").onchange = function(event) { - document.getElementById("div").style.backgroundBlendMode = document.getElementById("select").selectedOptions[0].innerHTML; -} -console.log(document.getElementById('div'));</pre> - -<p>{{ EmbedLiveSample('Examples', "330", "330") }}</p> - -<h2 id="Specifications" name="Specifications">仕様書</h2> - -<table class="standard-table"> - <thead> - <tr> - <th scope="col">仕様書</th> - <th scope="col">状態</th> - <th scope="col">備考</th> - </tr> - </thead> - <tbody> - <tr> - <td>{{ SpecName('Compositing', '#background-blend-mode', 'background-blend-mode') }}</td> - <td>{{ Spec2('Compositing') }}</td> - <td>初回定義</td> - </tr> - </tbody> -</table> - -<p>{{cssinfo}}</p> - -<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの対応</h2> - -<p>{{Compat("css.properties.background-blend-mode")}}</p> - -<h2 id="See_also" name="See_also">関連情報</h2> - -<ul> - <li>{{cssxref("<blend-mode>")}}</li> - <li>{{cssxref("mix-blend-mode")}}</li> -</ul> |
