aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/css/@media/overflow-inline
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/web/css/@media/overflow-inline
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/ja/web/css/@media/overflow-inline')
-rw-r--r--files/ja/web/css/@media/overflow-inline/index.html75
1 files changed, 75 insertions, 0 deletions
diff --git a/files/ja/web/css/@media/overflow-inline/index.html b/files/ja/web/css/@media/overflow-inline/index.html
new file mode 100644
index 0000000000..2b0a2d67d4
--- /dev/null
+++ b/files/ja/web/css/@media/overflow-inline/index.html
@@ -0,0 +1,75 @@
+---
+title: overflow-inline
+slug: Web/CSS/@media/overflow-inline
+tags:
+ - '@media'
+ - CSS
+ - Media Queries
+ - Reference
+ - メディアクエリ
+ - メディア特性
+ - リファレンス
+translation_of: Web/CSS/@media/overflow-inline
+---
+<div>{{cssref}}</div>
+
+<p><strong><code>overflow-inline</code></strong> は <a href="/ja/docs/Web/CSS">CSS</a> の<a href="/ja/docs/Web/CSS/Media_Queries/Using_media_queries#Media_features">メディア特性</a>で、初期<a href="/ja/docs/Web/CSS/Containing_block">包含ブロック</a>をインライン軸方向にあふれたコンテンツを端末がどのように扱うかを調べるために使用します。</p>
+
+<h2 id="Syntax" name="Syntax">構文</h2>
+
+<p><code>overflow-inline</code> 特性は以下の一覧のうち一つのキーワード値で指定します。</p>
+
+<dl>
+ <dt><code>none</code></dt>
+ <dd>インライン軸方向にあふれたコンテンツは表示されません。</dd>
+ <dt><code>scroll</code></dt>
+ <dd>インライン軸方向にあふれたコンテンツは、スクロールすることで見ることができます。</dd>
+</dl>
+
+<h2 id="Example" name="Example">例</h2>
+
+<h3 id="HTML">HTML</h3>
+
+<pre class="brush: html notranslate">&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam ac turpis eleifend, fringilla velit ac, aliquam tellus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nunc velit erat, tempus id rutrum sed, dapibus ut urna. Integer vehicula nibh a justo imperdiet rutrum. Nam faucibus pretium orci imperdiet sollicitudin. Nunc id facilisis dui. Proin elementum et massa et feugiat. Integer rutrum ullamcorper eleifend. Proin sit amet tincidunt risus. Sed nec augue congue eros accumsan tincidunt sed eget ex.&lt;/p&gt;
+</pre>
+
+<h3 id="CSS">CSS</h3>
+
+<pre class="brush: css notranslate">p {
+ white-space: nowrap;
+}
+
+@media (overflow-inline: scroll) {
+ p {
+ color: red;
+ }
+}</pre>
+
+<h3 id="Result" name="Result">結果</h3>
+
+<p>{{EmbedLiveSample("Example")}}</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('CSS4 Media Queries', '#mf-overflow-inline', 'overflow-inline')}}</td>
+ <td>{{Spec2('CSS4 Media Queries')}}</td>
+ <td>初回定義。</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2>
+
+<div class="hidden">このページの互換性一覧表は構造化データから生成されています。データに協力していただけるのであれば、 <a class="external" href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> をチェックアウトしてプルリクエストを送信してください。</div>
+
+<div>{{Compat("css.at-rules.media.overflow-inline")}}</div>