aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/css/-moz-outline-radius-topright/index.html
blob: d1643bd009c218d74e231c33b608e5dd2c38b7ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
---
title: '-moz-outline-radius-topright'
slug: Web/CSS/-moz-outline-radius-topright
tags:
  - CSS
  - CSS Property
  - NeedsCompatTable
  - NeedsContent
  - Non-standard
  - Reference
  - 'recipe:css-property'
translation_of: Web/CSS/-moz-outline-radius-topright
---
<div>{{Non-standard_header}}{{CSSRef}}</div>

<p>Mozilla アプリケーションにおいて、 <strong><code>-moz-outline-radius-topright</code></strong><a href="/ja/docs/Web/CSS">CSS</a> のプロパティで、要素の輪郭線 ({{cssxref("outline")}}) の⇀上の角を丸くするために使用することができます。</p>

<h2 id="Syntax" name="Syntax">構文</h2>

<p><code>-moz-outline-radius-topright</code> の値は、 {{cssxref("length", "&lt;length&gt;")}} または境界ボックスの対応する大きさに対する<a href="/ja/docs/Web/CSS/percentage">パーセント値</a>のどちらかです。 {{cssxref("calc", "calc()")}} 関数も同様に使用することができます。</p>

<h3 id="Values" name="Values"></h3>

<dl>
 <dt><code>&lt;length&gt;</code></dt>
 <dd>要素の上端と右端の曲率を定義する円の半径を CSS の {{cssxref("length", "&lt;length&gt;")}} で指定します。</dd>
 <dt><code>&lt;percentage&gt;</code></dt>
 <dd>要素の右上隅の丸めを定義する円の半径で、ボーダーボックスの上辺と右辺の<a href="/ja/docs/Web/CSS/percentage">パーセント値</a>で指定します。</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>

<h3 id="HTML">HTML</h3>

<pre class="brush: html notranslate">&lt;p&gt;段落の右上の角を見てください。&lt;/p&gt;</pre>

<h3 id="CSS">CSS</h3>

<pre class="brush: css notranslate">p {
  margin: 5px;
  border: solid cyan;
  outline: dotted red;
  -moz-outline-radius-topright: 2em;
}</pre>

<h3 id="Result" name="Result">結果</h3>

<p>{{EmbedLiveSample("Examples")}}</p>

<div class="blockIndicator note">
<p>上記の例は Firefox 以外のブラウザーで見ている場合は、求められる効果が表示されません。</p>
</div>

<h2 id="Specifications" name="Specifications">仕様書</h2>

<p>標準の一部ではありません。</p>

<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2>


<p>{{Compat("css.properties.-moz-outline-radius-topright")}}</p>

<h2 id="See_also" name="See_also">関連情報</h2>

<ul>
 <li>詳しくは {{cssxref("-moz-outline-radius")}} プロパティを参照してください。</li>
</ul>