From 9595be3220981263fcfc3bb7c5e111102ddaae7e Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Sun, 10 Oct 2021 12:36:07 +0900 Subject: CSS シェイプの文書を変換準備 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- files/ja/web/css/css_shapes/index.md | 98 ++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 files/ja/web/css/css_shapes/index.md (limited to 'files/ja/web/css/css_shapes/index.md') diff --git a/files/ja/web/css/css_shapes/index.md b/files/ja/web/css/css_shapes/index.md new file mode 100644 index 0000000000..dcbe826a74 --- /dev/null +++ b/files/ja/web/css/css_shapes/index.md @@ -0,0 +1,98 @@ +--- +title: CSS シェイプ +slug: Web/CSS/CSS_Shapes +tags: + - CSS + - CSS シェイプ + - Reference + - wrapping + - シェイプ + - リファレンス + - 境界 + - 概要 +translation_of: Web/CSS/CSS_Shapes +--- +
{{CSSRef}}
+ +

CSS シェイプは、 CSS で使用する幾何学的な図形を記述します。 レベル1の仕様書では、 CSS シェイプは浮動状態の要素に適用されます。仕様書では浮動状態の要素においてシェイプを定義する様々な方法を定義しており、コンテンツの折り返し線が要素ボックスの矩形に従うのではなく、図形に回り込むようになります。

+ +

基本的な例

+ +

以下の例では、左に浮動状態の画像を表示し、 shape-outside プロパティを circle(50%) の値で適用しています。これは円形を作成し、浮動状態の要素で折り返すコンテンツが図形に回り込むようになります。これにより、テキストの行ボックスが折り返す長さが変わります。

+ +

{{EmbedGHLiveSample("css-examples/shapes/overview/circle.html", '100%', 720)}}

+ +

リファレンス

+ +

プロパティ

+ +
+ +
+ +

データ型

+ +
+ +
+ +

ガイド

+ + + +

外部リソース

+ + + +

仕様書

+ + + + + + + + + + + + + + + + +
仕様書状態備考
{{SpecName("CSS Shapes")}}{{Spec2("CSS Shapes")}}初回定義。
+ +

ブラウザーの対応

+ +

shape-outside

+ +

{{Compat("css.properties.shape-outside")}}

+ +

shape-margin

+ +

{{Compat("css.properties.shape-margin")}}

+ +

shape-image-threshold

+ +

{{Compat("css.properties.shape-image-threshold")}}

-- cgit v1.2.3-54-g00ecf