From f465736494c77f022062f8c76d1f329888be8824 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Tue, 8 Mar 2022 00:13:02 +0900 Subject: 2021/08/13 時点の英語版に同期 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ja/web/css/-webkit-text-stroke-color/index.md | 122 +++++++++------------ .../ja/web/css/-webkit-text-stroke-width/index.md | 122 +++++++++------------ files/ja/web/css/-webkit-touch-callout/index.md | 64 ++++++----- 3 files changed, 143 insertions(+), 165 deletions(-) (limited to 'files') diff --git a/files/ja/web/css/-webkit-text-stroke-color/index.md b/files/ja/web/css/-webkit-text-stroke-color/index.md index b327da4d76..fcbd845d11 100644 --- a/files/ja/web/css/-webkit-text-stroke-color/index.md +++ b/files/ja/web/css/-webkit-text-stroke-color/index.md @@ -4,17 +4,19 @@ slug: Web/CSS/-webkit-text-stroke-color tags: - CSS - CSS プロパティ - - Non-standard - - Reference - - WebKit 拡張 - 標準外 + - リファレンス + - WebKit + - recipe:css-property +browser-compat: css.properties.-webkit-text-stroke-color translation_of: Web/CSS/-webkit-text-stroke-color --- -
{{CSSRef}}{{Non-standard_header}}
+{{CSSRef}}{{Non-standard_header}} -

-webkit-text-stroke-color は {{Glossary("CSS")}} のプロパティで、テキストの文字の角のを示します。このプロパティが設定されない場合、 {{cssxref("color")}} プロパティの値が使用されます。

+**`-webkit-text-stroke-color`** は CSS のプロパティで、テキストの文字の線の[色](/ja/docs/Web/CSS/color_value)を示します。このプロパティが設定されない場合、 {{cssxref("color")}} プロパティの値が使用されます。 -
/* <color> 値 */
+```css
+/*  値 */
 -webkit-text-stroke-color: red;
 -webkit-text-stroke-color: #e08ab4;
 -webkit-text-stroke-color: rgb(200, 100, 0);
@@ -23,86 +25,68 @@ translation_of: Web/CSS/-webkit-text-stroke-color
 -webkit-text-stroke-color: inherit;
 -webkit-text-stroke-color: initial;
 -webkit-text-stroke-color: unset;
-
+``` -

{{cssinfo}}

+## 構文 -

構文

+### 値 -

+ `` + - : 線の色。 -
-
<color>
-
角の色。
-
+## 公式定義 -

形式文法

+{{CSSInfo}} + +## 形式文法 {{csssyntax}} -

+## 例 + +### 角の色を変化させる -

HTML コンテンツ

+#### HTML -
<p>Text with stroke</p>
-<input type="color" value="#ff0000">
+```html +

Text with stroke

+ +``` -

CSS コンテンツ

+#### CSS -
p {
+```css
+p {
   margin: 0;
   font-size: 4em;
   -webkit-text-stroke-width: 3px;
   -webkit-text-stroke-color: #ff0000; /* ライブサンプルで変更可能 */
 }
-
- - - -

{{EmbedLiveSample("Example", "500px", "100px")}}

- -

仕様書

- - - - - - - - - - - - - - - - - - - - - -
仕様書状態備考
{{SpecName('Compat', '#the-webkit-text-stroke-color', '-webkit-text-stroke-color')}}{{Spec2('Compat')}}初回標準化
Safari CSS Reference
- 文書内の '-webkit-text-stroke-color'
標準外で非公式の文書化初回文書化
- -

ブラウザーの互換性

- -

{{Compat("css.properties.-webkit-text-stroke-color")}}

- -

関連情報

- - +}); +``` + +#### 結果 + +{{EmbedLiveSample("Varying_the_stroke_color", "500px", "100px")}} + +## 仕様書 + +{{Specifications}} + +## ブラウザーの互換性 + +{{Compat}} + +## 関連情報 + +- [Surfin' Safari blog post announcing this feature](https://www.webkit.org/blog/85/introducing-text-stroke/) +- [CSS-Tricks article explaining this feature](https://css-tricks.com/adding-stroke-to-web-text/) +- {{cssxref("-webkit-text-fill-color")}} +- {{cssxref("-webkit-text-stroke-width")}} +- {{cssxref("-webkit-text-stroke")}} diff --git a/files/ja/web/css/-webkit-text-stroke-width/index.md b/files/ja/web/css/-webkit-text-stroke-width/index.md index e8e39b12a0..799ff056b6 100644 --- a/files/ja/web/css/-webkit-text-stroke-width/index.md +++ b/files/ja/web/css/-webkit-text-stroke-width/index.md @@ -4,22 +4,21 @@ slug: Web/CSS/-webkit-text-stroke-width tags: - CSS - CSS プロパティ - - Non-standard - - Reference - - WebKit - - WebKit 拡張 - 標準外 + - リファレンス + - WebKit + - recipe:css-property +browser-compat: css.properties.-webkit-text-stroke-width translation_of: Web/CSS/-webkit-text-stroke-width --- -
{{CSSRef}}{{Non-standard_header}}
+{{CSSRef}}{{Non-standard_header}} -

-webkit-text-stroke-widthCSS のプロパティで、テキストの角の太さを指定します。

+**`-webkit-text-stroke-width`** は [CSS](/ja/docs/Web/CSS) のプロパティで、テキストの線の太さを指定します。 -

{{cssinfo}}

+## 構文 -

構文

- -
/* キーワード値 */
+```css
+/* キーワード値 */
 -webkit-text-stroke-width: thin;
 -webkit-text-stroke-width: medium;
 -webkit-text-stroke-width: thick;
@@ -34,24 +33,29 @@ translation_of: Web/CSS/-webkit-text-stroke-width
 -webkit-text-stroke-width: inherit;
 -webkit-text-stroke-width: initial;
 -webkit-text-stroke-width: unset;
-
+``` + +### 値 -

+- `` + - : 線の太さ。 -
-
<line-width>
-
角の太さ。
-
+## 公式定義 -

形式文法

+{{CSSInfo}} + +## 形式文法 {{csssyntax}} -

+## 例 + +### 線の幅を変更 -

CSS コンテンツ

+#### CSS -
p {
+```css
+p {
   margin: 0;
   font-size: 4em;
   -webkit-text-stroke-color: red;
@@ -68,52 +72,32 @@ translation_of: Web/CSS/-webkit-text-stroke-width
 #thick {
   -webkit-text-stroke-width: 1.5mm;
 }
-
- -

HTML コンテンツ

- -
<p id="thin">Thin stroke</p>
-<p id="medium">Medium stroke</p>
-<p id="thick">Thick stroke</p>
-
- -

{{EmbedLiveSample("Example", "450px", "230px")}}

- -

仕様書

- - - - - - - - - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Compat', '#the-webkit-text-stroke-width', '-webkit-text-stroke-width')}}{{Spec2('Compat')}}初回標準化
Safari CSS Reference
- 文書内の '-webkit-text-stroke-width'
標準外で非公式の文書化初回文書化
- -

ブラウザーの互換性

- -

{{Compat("css.properties.-webkit-text-stroke-width")}}

- -

関連情報

- - +``` + +#### HTML + +```html +

Thin stroke

+

Medium stroke

+

Thick stroke

+``` + +#### 結果 + +{{EmbedLiveSample("Varying_stroke_widths", "450px", "230px")}} + +## 仕様書 + +{{Specifications}} + +## ブラウザーの互換性 + +{{Compat}} + +## 関連情報 + +- [Surfin' Safari blog post announcing this feature](https://www.webkit.org/blog/85/introducing-text-stroke/) +- [CSS-Tricks article explaining this feature](https://css-tricks.com/adding-stroke-to-web-text/) +- {{cssxref("-webkit-text-stroke-color")}} +- {{cssxref("-webkit-text-stroke")}} +- {{cssxref("-webkit-text-fill-color")}} diff --git a/files/ja/web/css/-webkit-touch-callout/index.md b/files/ja/web/css/-webkit-touch-callout/index.md index dbfa2c699b..897bc197f8 100644 --- a/files/ja/web/css/-webkit-touch-callout/index.md +++ b/files/ja/web/css/-webkit-touch-callout/index.md @@ -4,58 +4,68 @@ slug: Web/CSS/-webkit-touch-callout tags: - CSS - CSS プロパティ - - Non-standard - - Reference - - WebKit 拡張 - - 'recipe:css-property' - - リファレンス - レイアウト + - NeedsLiveSample - 標準外 + - リファレンス + - WebKit + - recipe:css-property +browser-compat: css.properties.-webkit-touch-callout translation_of: Web/CSS/-webkit-touch-callout --- -
{{CSSRef}}{{Non-standard_header}}
+{{CSSRef}}{{Non-standard_header}} -

CSS-webkit-touch-callout プロパティは、対象を長押しすることで現れるコールアウト表示を制御します。

+`-webkit-touch-callout` は [CSS](/ja/docs/Web/CSS) のプロパティで、対象を長押しすることで現れるコールアウト表示を制御します。 -

iOS 上で対象が長押しされたとき、 Safari はそのリンクに関する情報をコールアウトで表示します。このプロパティはそういった挙動を無効にすることを可能にします。

+iOS 上で対象が長押しされたとき、 Safari はそのリンクに関する情報をコールアウトで表示します。このプロパティではそういった挙動を無効にすることができます。 -
/* キーワード値 */
+```css
+/* キーワード値 */
 -webkit-touch-callout: default;
 -webkit-touch-callout: none;
 
 /* グローバル値 */
 -webkit-touch-callout: initial;
 -webkit-touch-callout: inherit;
--webkit-touch-callout: unset;
+-webkit-touch-callout: unset; +``` + +## 構文 -

構文

+### 値 -

+- `default` + - : 既定のコールアウトが表示されます。 +- `none` + - : コールアウト表示が無効になります。 -
-
default
-
既定のコールアウトが表示されます。
-
none
-
コールアウト表示が無効になります。
-
+## 公式定義 -

形式文法

+{{CSSInfo}} + +## 形式文法 {{csssyntax}} -

+## 例 + +### タッチ時のコールアウトをオフにする -
.example {
+```css
+.example {
   -webkit-touch-callout: none;
 }
-
+``` + +## 仕様書 -

仕様書

+どの仕様書でも定義されていません。 Apple は [Safari CSS リファレンス](https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariCSSRef/Articles/StandardCSSProperties.html#//apple_ref/doc/uid/TP30001266-_webkit_touch_callout) に説明を載せています。 -

どの仕様書でも定義されていません。

+## ブラウザーの互換性 -

Apple は Safari CSS リファレンス に説明を載せています。

+{{Compat}} -

ブラウザーの互換性

+## 関連情報 -

{{Compat("css.properties.-webkit-touch-callout")}}

+- [WebKit CSS 拡張](/en-US/docs/Web/CSS/WebKit_Extensions) +- [Apple の開発者ドキュメントにおける -webkit-touch-callout](https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariCSSRef/Articles/StandardCSSProperties.html#//apple_ref/doc/uid/TP30001266-_webkit_touch_callout) -- cgit v1.2.3-54-g00ecf