From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../web/css/-webkit-text-stroke-width/index.html | 121 +++++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 files/ja/web/css/-webkit-text-stroke-width/index.html (limited to 'files/ja/web/css/-webkit-text-stroke-width') diff --git a/files/ja/web/css/-webkit-text-stroke-width/index.html b/files/ja/web/css/-webkit-text-stroke-width/index.html new file mode 100644 index 0000000000..4c76360a01 --- /dev/null +++ b/files/ja/web/css/-webkit-text-stroke-width/index.html @@ -0,0 +1,121 @@ +--- +title: '-webkit-text-stroke-width' +slug: Web/CSS/-webkit-text-stroke-width +tags: + - CSS + - CSS プロパティ + - Non-standard + - Reference + - WebKit + - WebKit 拡張 + - 標準外 +translation_of: Web/CSS/-webkit-text-stroke-width +--- +
{{CSSRef}}{{Non-standard_header}}
+ +

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

+ +

{{cssinfo}}

+ +

構文

+ +
/* キーワード値 */
+-webkit-text-stroke-width: thin;
+-webkit-text-stroke-width: medium;
+-webkit-text-stroke-width: thick;
+
+/* <length> 値 */
+-webkit-text-stroke-width: 2px;
+-webkit-text-stroke-width: 0.1em;
+-webkit-text-stroke-width: 1mm;
+-webkit-text-stroke-width: 5pt;
+
+/* グローバル値 */
+-webkit-text-stroke-width: inherit;
+-webkit-text-stroke-width: initial;
+-webkit-text-stroke-width: unset;
+
+ +

+ +
+
<line-width>
+
角の太さ。
+
+ +

形式文法

+ +
{{csssyntax}}
+ +

+ +

CSS コンテンツ

+ +
p {
+  margin: 0;
+  font-size: 4em;
+  -webkit-text-stroke-color: red;
+}
+
+#thin {
+  -webkit-text-stroke-width: thin;
+}
+
+#medium {
+  -webkit-text-stroke-width: 3px;
+}
+
+#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")}}

+ +

関連情報

+ + -- cgit v1.2.3-54-g00ecf