diff options
| author | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2021-11-14 11:00:39 +0900 |
|---|---|---|
| committer | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2021-11-22 22:57:41 +0900 |
| commit | f7c2a316bb9e875683a9e81fb6aef8d1fc133a38 (patch) | |
| tree | 74027a363679ab97d723894bd02ed85f8437ee5f /files/ja/web/css/border-bottom-right-radius/index.html | |
| parent | 9abb54efaa307cb7e5d87cc7483e942bd1e7315d (diff) | |
| download | translated-content-f7c2a316bb9e875683a9e81fb6aef8d1fc133a38.tar.gz translated-content-f7c2a316bb9e875683a9e81fb6aef8d1fc133a38.tar.bz2 translated-content-f7c2a316bb9e875683a9e81fb6aef8d1fc133a38.zip | |
CSS Borders に関するプロパティの文書の変換準備
Diffstat (limited to 'files/ja/web/css/border-bottom-right-radius/index.html')
| -rw-r--r-- | files/ja/web/css/border-bottom-right-radius/index.html | 187 |
1 files changed, 0 insertions, 187 deletions
diff --git a/files/ja/web/css/border-bottom-right-radius/index.html b/files/ja/web/css/border-bottom-right-radius/index.html deleted file mode 100644 index 1d683d390a..0000000000 --- a/files/ja/web/css/border-bottom-right-radius/index.html +++ /dev/null @@ -1,187 +0,0 @@ ---- -title: border-bottom-right-radius -slug: Web/CSS/border-bottom-right-radius -tags: - - CSS - - CSS Borders - - CSS Property - - Reference - - 'recipe:css-property' -translation_of: Web/CSS/border-bottom-right-radius ---- -<div>{{CSSRef}}</div> - -<p><strong><code>border-bottom-right-radius</code></strong> は <a href="/ja/docs/Web/CSS">CSS</a> のプロパティで、角の曲率を定義する楕円の半径 (または半長軸と半短軸の半径) を指定することで、要素の右下の角を丸めます。</p> - -<div>{{EmbedInteractiveExample("pages/css/border-bottom-right-radius.html")}}</div> - -<p class="hidden">このデモのソースファイルは GitHub リポジトリに格納されています。デモプロジェクトに協力したい場合は、 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> をクローンしてプルリクエストを送信してください。</p> - -<p>丸みは円または楕円にすることができ、値のうちの一つが <code>0</code> であれば、丸めは行われずに角は四角くなります。</p> - -<div style="text-align: center;"><img alt="border-bottom-right-radius.png" class="default internal" src="/@api/deki/files/6134/=border-bottom-right-radius.png"></div> - -<p>背景は、画像または単色ですが、丸みがあっても境界で切り取られます。切り取られる正確な位置は、 {{cssxref("background-clip")}} プロパティの値で定義されます。</p> - -<div class="note"><strong>注:</strong> このプロパティの値が <code>border-bottom-right-radius</code> プロパティの後の {{cssxref("border-radius")}} 一括指定プロパティで設定されなかった場合、このプロパティは<a href="/ja/docs/Web/CSS/Shorthand_properties">一括指定プロパティ</a>によって初期値にリセットされます。</div> - -<h2 id="Syntax" name="Syntax">構文</h2> - -<pre class="brush:css no-line-numbers notranslate">/* 角を円にする */ -/* border-bottom-right-radius: <em>radius</em> */ -border-bottom-right-radius: 3px; - -/* パーセント値 */ -border-bottom-right-radius: 20%; /* ボックスが正方形ならば円、長方形ならば楕円 */ -border-bottom-right-radius: 20% 20%; /* 上と同じ。水平方向 (width) 及び垂直方向 (height) の 20% */ -border-bottom-right-radius: 20% 10%; /* 水平方向 (width) の 20% 及び垂直方向 (height) の 10% */ - -/* 角を楕円にする */ -/* border-bottom-right-radius: horizontal vertical */ -border-bottom-right-radius: 0.5em 1em; - -border-bottom-right-radius: inherit;</pre> - -<p>値1つで指定する場合:</p> - -<ul> - <li>値は {{cssxref("<length>")}} または {{cssxref("<percentage>")}} であり、境界の角に使用する円の半径を示します。</li> -</ul> - -<p>値2つで指定する場合:</p> - -<ul> - <li>最初の値は {{cssxref("<length>")}} または {{cssxref("<percentage>")}} であり、境界の角に使用する楕円の水平の軌道長半径を示します。</li> - <li>最初の値は {{cssxref("<length>")}} または {{cssxref("<percentage>")}} であり、境界の角に使用する楕円の垂直の軌道長半径を示します。</li> -</ul> - -<h3 id="Values" name="Values">値</h3> - -<dl> - <dt><code><length-percentage></code></dt> - <dd>円の半径または楕円の長半径及び短半径を示します。絶対的な長さの場合は、 CSS の {{cssxref("<length>")}} データ型で表現することができます。水平軸のパーセント値はボックスの幅、垂直軸のパーセント軸はボックスの高さに対する値です。負の数は無効です。</dd> -</dl> - -<h2 id="Formal_definition" name="Formal_definition">公式定義</h2> - -<p>{{CSSInfo}}</p> - -<h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> - -{{csssyntax}} - -<h2 id="Examples" name="Examples">例</h2> - -<table class="standard-table"> - <thead> - <tr> - <th>ライブ例</th> - <th>コード</th> - </tr> - </thead> - <tbody> - <tr> - <td style="padding: 1.5em;"> - <div style="background-color: lightgreen; border: solid 1px black; border-bottom-right-radius: 40px 40px; width: 100px; height: 100px;"> - <div class="hidden">.</div> - </div> - </td> - <td>境界として使用されている円弧 - <pre class="brush: css notranslate"> -div { - border-bottom-right-radius: 40px 40px; -} -</pre> - </td> - </tr> - <tr> - <td style="padding: 1.5em;"> - <div style="background-color: lightgreen; border: solid 1px black; border-bottom-right-radius: 40px 20px; width: 100px; height: 100px;"> - <div class="hidden">.</div> - </div> - </td> - <td>境界として使用されている楕円の弧 - <pre class="brush: css notranslate"> -div { - border-bottom-right-radius: 40px 20px; -} -</pre> - </td> - </tr> - <tr> - <td style="padding: 1.5em;"> - <div style="background-color: lightgreen; border: solid 1px black; border-bottom-right-radius: 40%; width: 100px; height: 100px;"> - <div class="hidden">.</div> - </div> - </td> - <td>ボックスは正方形。境界として使用されている円弧 - <pre class="brush: css notranslate"> -div { - border-bottom-right-radius: 40%; -} -</pre> - </td> - </tr> - <tr> - <td style="padding: 1.5em;"> - <div style="background-color: lightgreen; border: solid 1px black; border-bottom-right-radius: 40%; width: 100px; height: 200px;"> - <div class="hidden">.</div> - </div> - </td> - <td>ボックスは正方形ではない。境界として使用されている楕円の弧 - <pre class="brush: css notranslate"> -div { - border-bottom-right-radius: 40%; -} -</pre> - </td> - </tr> - <tr> - <td style="padding: 1.5em;"> - <div style="border: black 3px double; border-bottom-right-radius: 40%; height: 100px; width: 100px; background-color: rgb(250,20,70); background-clip: content-box;"> - <div class="hidden">.</div> - </div> - </td> - <td>背景色は境界で切り取られる - <pre class="brush: css notranslate"> -div { - border-bottom-right-radius:40%; - border-style: black 3px double; - background-color: rgb(250,20,70); - background-clip: content-box; -} -</pre> - </td> - </tr> - </tbody> -</table> - -<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('CSS3 Backgrounds', '#border-bottom-right-radius', 'border-bottom-right-radius')}}</td> - <td>{{Spec2('CSS3 Backgrounds')}}</td> - <td>初回定義</td> - </tr> - </tbody> -</table> - -<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> - -<p>{{Compat("css.properties.border-bottom-right-radius")}}</p> - -<h2 id="See_also" name="See_also">関連情報</h2> - -<ul> - <li>一括指定の {{cssxref("border-radius")}} プロパティ</li> - <li>{{cssxref("border-top-right-radius")}}, {{cssxref("border-bottom-left-radius")}}, {{cssxref("border-top-left-radius")}}</li> -</ul> |
