diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
commit | 33058f2b292b3a581333bdfb21b8f671898c5060 (patch) | |
tree | 51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/web/css/-webkit-text-fill-color | |
parent | 8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff) | |
download | translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2 translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip |
initial commit
Diffstat (limited to 'files/ja/web/css/-webkit-text-fill-color')
-rw-r--r-- | files/ja/web/css/-webkit-text-fill-color/index.html | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/files/ja/web/css/-webkit-text-fill-color/index.html b/files/ja/web/css/-webkit-text-fill-color/index.html new file mode 100644 index 0000000000..bf72c45332 --- /dev/null +++ b/files/ja/web/css/-webkit-text-fill-color/index.html @@ -0,0 +1,98 @@ +--- +title: '-webkit-text-fill-color' +slug: Web/CSS/-webkit-text-fill-color +translation_of: Web/CSS/-webkit-text-fill-color +--- +<div>{{CSSRef}}{{Non-standard_header}}</div> + +<p><code><strong>-webkit-text-fill-color</strong></code> はCSSのプロパティで、テキストの文字の色を示します。このプロパティが設定されていない場合、{{cssxref("color")}}プロパティの値が使用されます。</p> + +<pre class="brush: css no-line-numbers notranslate">/* <color> 値 */ +-webkit-text-fill-color: red; +-webkit-text-fill-color: #000000; +-webkit-text-fill-color: rgb(100, 200, 0); + +/* グローバル値 */ +-webkit-text-fill-color: inherit; +-webkit-text-fill-color: initial; +-webkit-text-fill-color: unset; +</pre> + +<p>{{CSSInfo}}</p> + +<h2 id="構文">構文</h2> + +<h3 id="値">値</h3> + +<dl> + <dt><code><color></code></dt> + <dd>文字表面の塗りつぶし色。</dd> +</dl> + +<h3 id="形式構文">形式構文</h3> + +<pre class="syntaxbox notranslate">{{csssyntax}}</pre> + +<h2 id="例">例</h2> + +<h3 id="色を変える">色を変える</h3> + +<h4 id="CSS">CSS</h4> + +<pre class="brush: css; highlight[4] notranslate">p { + margin: 0; + font-size: 3em; + -webkit-text-fill-color: green; +} +</pre> + +<h4 id="HTML">HTML</h4> + +<pre class="brush: html notranslate"><p>This text is green.</p> +</pre> + +<h4 id="結果">結果</h4> + +<p>{{EmbedLiveSample("Changing_the_fill_color", "380px", "60px")}}</p> + +<h2 id="仕様書">仕様書</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('Compat', '#the-webkit-text-fill-color', '-webkit-text-fill-color')}}</td> + <td>{{Spec2('Compat')}}</td> + <td>初回標準化</td> + </tr> + <tr> + <td><a class="external external-icon" href="https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariCSSRef/Articles/StandardCSSProperties.html#//apple_ref/doc/uid/TP30001266--webkit-text-fill-color" hreflang="en" lang="en">Safari CSS Reference<br> + <small lang="en-US">'-webkit-text-fill-color' in that document.</small></a></td> + <td>標準外で非公式の文書化</td> + <td>初回文章化</td> + </tr> + </tbody> +</table> + +<h2 id="ブラウザの互換性">ブラウザの互換性</h2> + + + +<p>{{Compat("css.properties.-webkit-text-fill-color")}}</p> + +<h2 id="関連情報">関連情報</h2> + +<ul> + <li><a href="https://www.webkit.org/blog/85/introducing-text-stroke/">Surfin' Safari blog post announcing this feature</a></li> + <li><a href="https://css-tricks.com/adding-stroke-to-web-text/">CSS-Tricks article explaining this feature</a></li> + <li><a href="http://www.coding-dude.com/wp/css/css-stroke-text/">CSS Stroke Text: The Definitive Guide</a> by Coding Dude</li> + <li>{{cssxref("-webkit-text-stroke-color")}}</li> + <li>{{cssxref("-webkit-text-stroke-width")}}</li> + <li>{{cssxref("-webkit-text-stroke")}}</li> +</ul> |