From 66dd961c765e2843fdc3ed463baa19873924c0a3 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Wed, 18 Aug 2021 14:33:08 +0900 Subject: 意味のない title 属性を削除 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix #1877 --- .../ja/web/guide/css/getting_started/challenge_solutions/index.html | 6 +++--- files/ja/web/guide/html/content_categories/index.html | 4 ++-- .../html/editable_content/rich-text_editing_in_mozilla/index.html | 4 ++-- files/ja/web/guide/parsing_and_serializing_xml/index.html | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'files/ja/web/guide') diff --git a/files/ja/web/guide/css/getting_started/challenge_solutions/index.html b/files/ja/web/guide/css/getting_started/challenge_solutions/index.html index df62dacd38..a3825b30aa 100644 --- a/files/ja/web/guide/css/getting_started/challenge_solutions/index.html +++ b/files/ja/web/guide/css/getting_started/challenge_solutions/index.html @@ -3,7 +3,7 @@ title: Challenge solutions slug: Web/Guide/CSS/Getting_started/Challenge_solutions translation_of: Web/Guide/CSS/Getting_started/Challenge_solutions --- -

このページは、 CSS Getting Started チュートリアルにあるチャレンジの解答例です。これ以外の解答も考えられます。以下の章名はチュートリアルページのタイトルと一致します。

+

このページは、 CSS Getting Started チュートリアルにあるチャレンジの解答例です。これ以外の解答も考えられます。以下の章名はチュートリアルページのタイトルと一致します。

CSS をなぜ用いるか

Colors

@@ -16,7 +16,7 @@ translation_of: Web/Guide/CSS/Getting_started/Challenge_solutions
Solution
- CSS supports common color names like orange, yellow, blue, green, or black. It also supports some more exotic color names like chartreuse, fuschia, or burlywood. See CSS Color value for a complete list as well as other ways of specifying colors.
+ CSS supports common color names like orange, yellow, blue, green, or black. It also supports some more exotic color names like chartreuse, fuschia, or burlywood. See CSS Color value for a complete list as well as other ways of specifying colors.

どのように CSS は動作するのか

DOM inspector

@@ -244,7 +244,7 @@ h3:before { } -

+

Borders on data cells only

diff --git a/files/ja/web/guide/html/content_categories/index.html b/files/ja/web/guide/html/content_categories/index.html index 9f0b98251f..cc2b9c20f3 100644 --- a/files/ja/web/guide/html/content_categories/index.html +++ b/files/ja/web/guide/html/content_categories/index.html @@ -84,9 +84,9 @@ translation_of: Web/Guide/HTML/Content_categories
  • {{HTMLElement("area")}}: {{HTMLElement("map")}} 要素の子孫である場合
  • {{HTMLElement("del")}}: 記述コンテンツだけを含む場合
  • {{HTMLElement("ins")}}: 記述コンテンツだけを含む場合
  • -
  • {{HTMLElement("link")}}: itemprop 属性がある場合
  • +
  • {{HTMLElement("link")}}: itemprop 属性がある場合
  • {{HTMLElement("map")}}: 記述コンテンツだけを含む場合
  • -
  • {{HTMLElement("meta")}}: itemprop 属性がある場合
  • +
  • {{HTMLElement("meta")}}: itemprop 属性がある場合
  • 埋め込みコンテンツ

    diff --git a/files/ja/web/guide/html/editable_content/rich-text_editing_in_mozilla/index.html b/files/ja/web/guide/html/editable_content/rich-text_editing_in_mozilla/index.html index 07826fa870..8a2b1b2b00 100644 --- a/files/ja/web/guide/html/editable_content/rich-text_editing_in_mozilla/index.html +++ b/files/ja/web/guide/html/editable_content/rich-text_editing_in_mozilla/index.html @@ -50,7 +50,7 @@ translation_of: Web/Guide/HTML/Editable_content/Rich-Text_Editing_in_Mozilla

    さらに、 Mozilla には、ドキュメントが designMode になると、そのドキュメント内のイベントが無効になるという特徴があります。designMode をオフにすると (Mozilla 1.5 ではこの切り替えが可能となります)、再びイベントはアクティブになります。

    -

    さらなる情報 は、Migrate apps from Internet Explorer to MozillaRich text editing の節をご覧ください。

    +

    さらなる情報 は、Migrate apps from Internet Explorer to MozillaRich text editing の節をご覧ください。

    @@ -277,7 +277,7 @@ img.intLink { border: 0; }
  • designMode
  • MSDN: How to Create an HTML Editor Application
  • A closed source, cross-browser rich-text editing demo
  • -
  • xbDesignMode; a JavaScript helper class for easier cross-browser development using designMode.
  • +
  • xbDesignMode; a JavaScript helper class for easier cross-browser development using designMode.
  • Firefox 3 and contentEditable
  • diff --git a/files/ja/web/guide/parsing_and_serializing_xml/index.html b/files/ja/web/guide/parsing_and_serializing_xml/index.html index 9adb073f0c..5a473bfc8f 100644 --- a/files/ja/web/guide/parsing_and_serializing_xml/index.html +++ b/files/ja/web/guide/parsing_and_serializing_xml/index.html @@ -109,7 +109,7 @@ const xmlStr = serializer.serializeToString(doc);

    関連項目

      -
    • XPath
    • +
    • XPath
    • {{domxref("XMLHttpRequest")}}
    • {{domxref("Document")}}, {{domxref("XMLDocument")}} および {{domxref("HTMLDocument")}}
    -- cgit v1.2.3-54-g00ecf From 1e5ef69352fca974bc2c3b0c507b20c97189fd1e Mon Sep 17 00:00:00 2001 From: MDN Date: Sun, 22 Aug 2021 00:45:00 +0000 Subject: [CRON] sync translated content --- files/de/_redirects.txt | 7 +- files/de/_wikihistory.json | 18 +- .../border-image_generator/index.html | 2626 ------------------ .../border-radius_generator/index.html | 1600 ----------- .../box-shadow_generator/index.html | 2885 ------------------- .../border-image_generator/index.html | 2627 ++++++++++++++++++ .../border-radius_generator/index.html | 1601 +++++++++++ .../box-shadow_generator/index.html | 2885 +++++++++++++++++++ files/es/_redirects.txt | 4 +- files/es/_wikihistory.json | 16 +- .../border-image_generator/index.html | 2616 ------------------ .../border-radius_generator/index.html | 1601 ----------- .../border-image_generator/index.html | 2616 ++++++++++++++++++ .../border-radius_generator/index.html | 1602 +++++++++++ files/fr/_redirects.txt | 13 +- files/fr/_wikihistory.json | 18 +- .../border-image_generator/index.html | 2627 ------------------ .../border-radius_generator/index.html | 1601 ----------- .../box-shadow_generator/index.html | 2888 -------------------- .../border-image_generator/index.html | 2627 ++++++++++++++++++ .../border-radius_generator/index.html | 1601 +++++++++++ .../box-shadow_generator/index.html | 2888 ++++++++++++++++++++ files/ja/_redirects.txt | 3 + files/ja/_wikihistory.json | 52 +- .../border-image_generator/index.html | 2629 ------------------ .../border-radius_generator/index.html | 1602 ----------- .../border-image_generator/index.html | 2630 ++++++++++++++++++ .../border-radius_generator/index.html | 1603 +++++++++++ files/ja/web/guide/houdini/index.html | 94 + files/ja/web/houdini/index.html | 93 - files/ko/_redirects.txt | 3 + files/ko/_wikihistory.json | 20 +- .../border-image_generator/index.html | 2627 ------------------ .../border-radius_generator/index.html | 1601 ----------- .../box-shadow_generator/index.html | 2881 ------------------- .../border-image_generator/index.html | 2628 ++++++++++++++++++ .../border-radius_generator/index.html | 1602 +++++++++++ .../box-shadow_generator/index.html | 2882 +++++++++++++++++++ files/pt-br/_redirects.txt | 6 +- files/pt-br/_wikihistory.json | 16 +- .../border-image_generator/index.html | 2628 ------------------ .../border-radius_generator/index.html | 1594 ----------- .../border-image_generator/index.html | 2628 ++++++++++++++++++ .../border-radius_generator/index.html | 1594 +++++++++++ files/ru/_redirects.txt | 7 +- files/ru/_wikihistory.json | 18 +- .../border-image_generator/index.html | 2628 ------------------ .../border-radius_generator/index.html | 1600 ----------- .../box-shadow_generator/index.html | 2885 ------------------- .../border-image_generator/index.html | 2629 ++++++++++++++++++ .../border-radius_generator/index.html | 1600 +++++++++++ .../box-shadow_generator/index.html | 2885 +++++++++++++++++++ files/zh-cn/_redirects.txt | 8 +- files/zh-cn/_wikihistory.json | 42 +- .../border-image_generator/index.html | 2628 ------------------ .../border-radius_generator/index.html | 1600 ----------- .../box-shadow_generator/index.html | 2881 ------------------- .../border-image_generator/index.html | 2629 ++++++++++++++++++ .../border-radius_generator/index.html | 1600 +++++++++++ .../box-shadow_generator/index.html | 2881 +++++++++++++++++++ files/zh-cn/web/guide/houdini/index.html | 91 + files/zh-cn/web/houdini/index.html | 90 - 62 files changed, 48560 insertions(+), 48525 deletions(-) delete mode 100644 files/de/web/css/css_background_and_borders/border-image_generator/index.html delete mode 100644 files/de/web/css/css_background_and_borders/border-radius_generator/index.html delete mode 100644 files/de/web/css/css_background_and_borders/box-shadow_generator/index.html create mode 100644 files/de/web/css/css_backgrounds_and_borders/border-image_generator/index.html create mode 100644 files/de/web/css/css_backgrounds_and_borders/border-radius_generator/index.html create mode 100644 files/de/web/css/css_backgrounds_and_borders/box-shadow_generator/index.html delete mode 100644 files/es/web/css/css_background_and_borders/border-image_generator/index.html delete mode 100644 files/es/web/css/css_background_and_borders/border-radius_generator/index.html create mode 100644 files/es/web/css/css_backgrounds_and_borders/border-image_generator/index.html create mode 100644 files/es/web/css/css_backgrounds_and_borders/border-radius_generator/index.html delete mode 100644 files/fr/web/css/css_background_and_borders/border-image_generator/index.html delete mode 100644 files/fr/web/css/css_background_and_borders/border-radius_generator/index.html delete mode 100644 files/fr/web/css/css_background_and_borders/box-shadow_generator/index.html create mode 100644 files/fr/web/css/css_backgrounds_and_borders/border-image_generator/index.html create mode 100644 files/fr/web/css/css_backgrounds_and_borders/border-radius_generator/index.html create mode 100644 files/fr/web/css/css_backgrounds_and_borders/box-shadow_generator/index.html delete mode 100644 files/ja/web/css/css_background_and_borders/border-image_generator/index.html delete mode 100644 files/ja/web/css/css_background_and_borders/border-radius_generator/index.html create mode 100644 files/ja/web/css/css_backgrounds_and_borders/border-image_generator/index.html create mode 100644 files/ja/web/css/css_backgrounds_and_borders/border-radius_generator/index.html create mode 100644 files/ja/web/guide/houdini/index.html delete mode 100644 files/ja/web/houdini/index.html delete mode 100644 files/ko/web/css/css_background_and_borders/border-image_generator/index.html delete mode 100644 files/ko/web/css/css_background_and_borders/border-radius_generator/index.html delete mode 100644 files/ko/web/css/css_background_and_borders/box-shadow_generator/index.html create mode 100644 files/ko/web/css/css_backgrounds_and_borders/border-image_generator/index.html create mode 100644 files/ko/web/css/css_backgrounds_and_borders/border-radius_generator/index.html create mode 100644 files/ko/web/css/css_backgrounds_and_borders/box-shadow_generator/index.html delete mode 100644 files/pt-br/web/css/css_background_and_borders/border-image_generator/index.html delete mode 100644 files/pt-br/web/css/css_background_and_borders/border-radius_generator/index.html create mode 100644 files/pt-br/web/css/css_backgrounds_and_borders/border-image_generator/index.html create mode 100644 files/pt-br/web/css/css_backgrounds_and_borders/border-radius_generator/index.html delete mode 100644 files/ru/web/css/css_background_and_borders/border-image_generator/index.html delete mode 100644 files/ru/web/css/css_background_and_borders/border-radius_generator/index.html delete mode 100644 files/ru/web/css/css_background_and_borders/box-shadow_generator/index.html create mode 100644 files/ru/web/css/css_backgrounds_and_borders/border-image_generator/index.html create mode 100644 files/ru/web/css/css_backgrounds_and_borders/border-radius_generator/index.html create mode 100644 files/ru/web/css/css_backgrounds_and_borders/box-shadow_generator/index.html delete mode 100644 files/zh-cn/web/css/css_background_and_borders/border-image_generator/index.html delete mode 100644 files/zh-cn/web/css/css_background_and_borders/border-radius_generator/index.html delete mode 100644 files/zh-cn/web/css/css_background_and_borders/box-shadow_generator/index.html create mode 100644 files/zh-cn/web/css/css_backgrounds_and_borders/border-image_generator/index.html create mode 100644 files/zh-cn/web/css/css_backgrounds_and_borders/border-radius_generator/index.html create mode 100644 files/zh-cn/web/css/css_backgrounds_and_borders/box-shadow_generator/index.html create mode 100644 files/zh-cn/web/guide/houdini/index.html delete mode 100644 files/zh-cn/web/houdini/index.html (limited to 'files/ja/web/guide') diff --git a/files/de/_redirects.txt b/files/de/_redirects.txt index 1fb9242dfc..bb608a1e82 100644 --- a/files/de/_redirects.txt +++ b/files/de/_redirects.txt @@ -486,10 +486,13 @@ /de/docs/Web/CSS/Boxmodell /de/docs/Web/CSS/CSS_Box_Model/Introduction_to_the_CSS_box_model /de/docs/Web/CSS/CSS_Animations/CSS_Animationen_nutzen /de/docs/Web/CSS/CSS_Animations/Using_CSS_animations /de/docs/Web/CSS/CSS_Background_and_Borders /de/docs/Web/CSS/CSS_Backgrounds_and_Borders +/de/docs/Web/CSS/CSS_Background_and_Borders/Border-image_generator /de/docs/Web/CSS/CSS_Backgrounds_and_Borders/Border-image_generator +/de/docs/Web/CSS/CSS_Background_and_Borders/Border-radius_generator /de/docs/Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator +/de/docs/Web/CSS/CSS_Background_and_Borders/Box-shadow_generator /de/docs/Web/CSS/CSS_Backgrounds_and_Borders/Box-shadow_generator /de/docs/Web/CSS/CSS_Background_and_Borders/Mehrere_Hintergründe_in_CSS_verwenden /de/docs/Web/CSS/CSS_Backgrounds_and_Borders/Using_multiple_backgrounds -/de/docs/Web/CSS/CSS_Box_Model/Box-shadow_generator /de/docs/Web/CSS/CSS_Background_and_Borders/Box-shadow_generator +/de/docs/Web/CSS/CSS_Box_Model/Box-shadow_generator /de/docs/Web/CSS/CSS_Backgrounds_and_Borders/Box-shadow_generator /de/docs/Web/CSS/CSS_Boxmodell /de/docs/Web/CSS/CSS_Box_Model -/de/docs/Web/CSS/CSS_Boxmodell/Box-shadow_generator /de/docs/Web/CSS/CSS_Background_and_Borders/Box-shadow_generator +/de/docs/Web/CSS/CSS_Boxmodell/Box-shadow_generator /de/docs/Web/CSS/CSS_Backgrounds_and_Borders/Box-shadow_generator /de/docs/Web/CSS/CSS_Boxmodell/Einführung_in_das_CSS_Boxmodell /de/docs/Web/CSS/CSS_Box_Model/Introduction_to_the_CSS_box_model /de/docs/Web/CSS/CSS_Boxmodell/Zusammenfallen_von_Außenabständen_meistern /de/docs/Web/CSS/CSS_Box_Model/Mastering_margin_collapsing /de/docs/Web/CSS/CSS_Colors /de/docs/Web/CSS/CSS_Color diff --git a/files/de/_wikihistory.json b/files/de/_wikihistory.json index 30c3dc9b00..6c2cc8c847 100644 --- a/files/de/_wikihistory.json +++ b/files/de/_wikihistory.json @@ -5114,31 +5114,31 @@ "Simu" ] }, - "Web/CSS/CSS_Background_and_Borders/Border-image_generator": { + "Web/CSS/CSS_Backgrounds_and_Borders": { + "modified": "2019-03-23T22:44:11.176Z", + "contributors": [ + "teoli" + ] + }, + "Web/CSS/CSS_Backgrounds_and_Borders/Border-image_generator": { "modified": "2019-03-18T21:15:52.768Z", "contributors": [ "Sebastianz" ] }, - "Web/CSS/CSS_Background_and_Borders/Border-radius_generator": { + "Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator": { "modified": "2019-03-23T22:43:49.105Z", "contributors": [ "Sebastianz" ] }, - "Web/CSS/CSS_Background_and_Borders/Box-shadow_generator": { + "Web/CSS/CSS_Backgrounds_and_Borders/Box-shadow_generator": { "modified": "2019-03-18T20:43:44.623Z", "contributors": [ "BychekRU", "Sebastianz" ] }, - "Web/CSS/CSS_Backgrounds_and_Borders": { - "modified": "2019-03-23T22:44:11.176Z", - "contributors": [ - "teoli" - ] - }, "Web/CSS/CSS_Backgrounds_and_Borders/Resizing_background_images": { "modified": "2019-03-23T23:06:19.663Z", "contributors": [ diff --git a/files/de/web/css/css_background_and_borders/border-image_generator/index.html b/files/de/web/css/css_background_and_borders/border-image_generator/index.html deleted file mode 100644 index 7e223feb3d..0000000000 --- a/files/de/web/css/css_background_and_borders/border-image_generator/index.html +++ /dev/null @@ -1,2626 +0,0 @@ ---- -title: Border-image Generator -slug: Web/CSS/CSS_Background_and_Borders/Border-image_generator -tags: - - CSS - - Werkzeuge -translation_of: Web/CSS/CSS_Background_and_Borders/Border-image_generator ---- -

    Dieses Werkzeug kann dazu verwendet werden, CSS3 {{cssxref("border-image")}} Werte zu erzeugen.

    - - - -

    {{EmbedLiveSample('Border_Image_Generator', '100%', '1270px')}}

    diff --git a/files/de/web/css/css_background_and_borders/border-radius_generator/index.html b/files/de/web/css/css_background_and_borders/border-radius_generator/index.html deleted file mode 100644 index ced3cae5ad..0000000000 --- a/files/de/web/css/css_background_and_borders/border-radius_generator/index.html +++ /dev/null @@ -1,1600 +0,0 @@ ---- -title: Border-radius Generator -slug: Web/CSS/CSS_Background_and_Borders/Border-radius_generator -tags: - - CSS - - Werkzeuge -translation_of: Web/CSS/CSS_Background_and_Borders/Border-radius_generator ---- -

    Dieses Werkzeug kann dazu verwendet werden, CSS3 {{cssxref("border-radius")}} Effekte zu erzeugen.

    - - - -

    {{EmbedLiveSample('border-radius-generator', '100%', '800px')}}

    diff --git a/files/de/web/css/css_background_and_borders/box-shadow_generator/index.html b/files/de/web/css/css_background_and_borders/box-shadow_generator/index.html deleted file mode 100644 index 9ced969467..0000000000 --- a/files/de/web/css/css_background_and_borders/box-shadow_generator/index.html +++ /dev/null @@ -1,2885 +0,0 @@ ---- -title: Box-shadow Generator -slug: Web/CSS/CSS_Background_and_Borders/Box-shadow_generator -tags: - - CSS3 - - Werkzeuge - - box-shadow -translation_of: Web/CSS/CSS_Background_and_Borders/Box-shadow_generator -original_slug: Web/CSS/CSS_Boxmodell/Box-shadow_generator ---- -

    Dieses Werkzeug erlaubt es, CSS {{cssxref("box-shadow")}} Effekte zu erstellen, um Schlagschatteneffekte zu CSS Objekten hinzuzufügen.

    - - - -
    {{ EmbedLiveSample('box-shadow_generator', '100%', '1100px', '') }}
    - -

    Related Tool: Box Shadow CSS Generator

    diff --git a/files/de/web/css/css_backgrounds_and_borders/border-image_generator/index.html b/files/de/web/css/css_backgrounds_and_borders/border-image_generator/index.html new file mode 100644 index 0000000000..2df004ab73 --- /dev/null +++ b/files/de/web/css/css_backgrounds_and_borders/border-image_generator/index.html @@ -0,0 +1,2627 @@ +--- +title: Border-image Generator +slug: Web/CSS/CSS_Backgrounds_and_Borders/Border-image_generator +tags: + - CSS + - Werkzeuge +translation_of: Web/CSS/CSS_Background_and_Borders/Border-image_generator +original_slug: Web/CSS/CSS_Background_and_Borders/Border-image_generator +--- +

    Dieses Werkzeug kann dazu verwendet werden, CSS3 {{cssxref("border-image")}} Werte zu erzeugen.

    + + + +

    {{EmbedLiveSample('Border_Image_Generator', '100%', '1270px')}}

    diff --git a/files/de/web/css/css_backgrounds_and_borders/border-radius_generator/index.html b/files/de/web/css/css_backgrounds_and_borders/border-radius_generator/index.html new file mode 100644 index 0000000000..2682c0adc8 --- /dev/null +++ b/files/de/web/css/css_backgrounds_and_borders/border-radius_generator/index.html @@ -0,0 +1,1601 @@ +--- +title: Border-radius Generator +slug: Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator +tags: + - CSS + - Werkzeuge +translation_of: Web/CSS/CSS_Background_and_Borders/Border-radius_generator +original_slug: Web/CSS/CSS_Background_and_Borders/Border-radius_generator +--- +

    Dieses Werkzeug kann dazu verwendet werden, CSS3 {{cssxref("border-radius")}} Effekte zu erzeugen.

    + + + +

    {{EmbedLiveSample('border-radius-generator', '100%', '800px')}}

    diff --git a/files/de/web/css/css_backgrounds_and_borders/box-shadow_generator/index.html b/files/de/web/css/css_backgrounds_and_borders/box-shadow_generator/index.html new file mode 100644 index 0000000000..a1121165f0 --- /dev/null +++ b/files/de/web/css/css_backgrounds_and_borders/box-shadow_generator/index.html @@ -0,0 +1,2885 @@ +--- +title: Box-shadow Generator +slug: Web/CSS/CSS_Backgrounds_and_Borders/Box-shadow_generator +tags: + - CSS3 + - Werkzeuge + - box-shadow +translation_of: Web/CSS/CSS_Background_and_Borders/Box-shadow_generator +original_slug: Web/CSS/CSS_Background_and_Borders/Box-shadow_generator +--- +

    Dieses Werkzeug erlaubt es, CSS {{cssxref("box-shadow")}} Effekte zu erstellen, um Schlagschatteneffekte zu CSS Objekten hinzuzufügen.

    + + + +
    {{ EmbedLiveSample('box-shadow_generator', '100%', '1100px', '') }}
    + +

    Related Tool: Box Shadow CSS Generator

    diff --git a/files/es/_redirects.txt b/files/es/_redirects.txt index b0cfd8f626..76616b14f5 100644 --- a/files/es/_redirects.txt +++ b/files/es/_redirects.txt @@ -1622,7 +1622,9 @@ /es/docs/Web/CSS/CSS_Animations/Detectar_soporte_de_animación_CSS /es/docs/Web/CSS/CSS_Animations/Detecting_CSS_animation_support /es/docs/Web/CSS/CSS_Animations/Usando_animaciones_CSS /es/docs/Web/CSS/CSS_Animations/Using_CSS_animations /es/docs/Web/CSS/CSS_Background_and_Borders /es/docs/Web/CSS/CSS_Backgrounds_and_Borders -/es/docs/Web/CSS/CSS_Background_and_Borders/Border-image_generador /es/docs/Web/CSS/CSS_Background_and_Borders/Border-image_generator +/es/docs/Web/CSS/CSS_Background_and_Borders/Border-image_generador /es/docs/Web/CSS/CSS_Backgrounds_and_Borders/Border-image_generator +/es/docs/Web/CSS/CSS_Background_and_Borders/Border-image_generator /es/docs/Web/CSS/CSS_Backgrounds_and_Borders/Border-image_generator +/es/docs/Web/CSS/CSS_Background_and_Borders/Border-radius_generator /es/docs/Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator /es/docs/Web/CSS/CSS_Background_and_Borders/Using_CSS_multiple_backgrounds /es/docs/Web/CSS/CSS_Backgrounds_and_Borders/Using_multiple_backgrounds /es/docs/Web/CSS/CSS_Colors /es/docs/Web/CSS/CSS_Color /es/docs/Web/CSS/CSS_Colors/Herramienta_para_seleccionar_color /es/docs/Web/CSS/CSS_Colors/Color_picker_tool diff --git a/files/es/_wikihistory.json b/files/es/_wikihistory.json index 3c8ab55145..1b9437479b 100644 --- a/files/es/_wikihistory.json +++ b/files/es/_wikihistory.json @@ -10652,25 +10652,25 @@ "ulisescab" ] }, - "Web/CSS/CSS_Background_and_Borders/Border-image_generator": { + "Web/CSS/CSS_Backgrounds_and_Borders": { + "modified": "2019-03-23T22:41:48.399Z", + "contributors": [ + "teoli" + ] + }, + "Web/CSS/CSS_Backgrounds_and_Borders/Border-image_generator": { "modified": "2019-03-23T22:41:48.777Z", "contributors": [ "teoli", "mcclone2001" ] }, - "Web/CSS/CSS_Background_and_Borders/Border-radius_generator": { + "Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator": { "modified": "2019-03-18T21:15:42.476Z", "contributors": [ "israel-munoz" ] }, - "Web/CSS/CSS_Backgrounds_and_Borders": { - "modified": "2019-03-23T22:41:48.399Z", - "contributors": [ - "teoli" - ] - }, "Web/CSS/CSS_Backgrounds_and_Borders/Using_multiple_backgrounds": { "modified": "2019-03-23T22:17:03.740Z", "contributors": [ diff --git a/files/es/web/css/css_background_and_borders/border-image_generator/index.html b/files/es/web/css/css_background_and_borders/border-image_generator/index.html deleted file mode 100644 index 17cb7b70bc..0000000000 --- a/files/es/web/css/css_background_and_borders/border-image_generator/index.html +++ /dev/null @@ -1,2616 +0,0 @@ ---- -title: Generador Border-image -slug: Web/CSS/CSS_Background_and_Borders/Border-image_generator -tags: - - CSS - - Herramientas -translation_of: Web/CSS/CSS_Background_and_Borders/Border-image_generator -original_slug: Web/CSS/CSS_Background_and_Borders/Border-image_generador ---- -

    Esta herramienta permite generar valores para CSS3 {{cssxref("border-image")}}

    - -

    {{ EmbedLiveSample('Border_Image_Generator', '100%', '1270px') }}

    - -

     

    diff --git a/files/es/web/css/css_background_and_borders/border-radius_generator/index.html b/files/es/web/css/css_background_and_borders/border-radius_generator/index.html deleted file mode 100644 index f445dff39b..0000000000 --- a/files/es/web/css/css_background_and_borders/border-radius_generator/index.html +++ /dev/null @@ -1,1601 +0,0 @@ ---- -title: Generador de border-radius -slug: Web/CSS/CSS_Background_and_Borders/Border-radius_generator -tags: - - Herramientas -translation_of: Web/CSS/CSS_Background_and_Borders/Border-radius_generator ---- -

    Esta herramienta puede ser usada para generar efectos de {{cssxref("border-radius")}} de CSS3.

    - - - -

    {{ EmbedLiveSample('border-radius-generator', '100%', '800px', '') }}

    - -

     

    diff --git a/files/es/web/css/css_backgrounds_and_borders/border-image_generator/index.html b/files/es/web/css/css_backgrounds_and_borders/border-image_generator/index.html new file mode 100644 index 0000000000..13a073100e --- /dev/null +++ b/files/es/web/css/css_backgrounds_and_borders/border-image_generator/index.html @@ -0,0 +1,2616 @@ +--- +title: Generador Border-image +slug: Web/CSS/CSS_Backgrounds_and_Borders/Border-image_generator +tags: + - CSS + - Herramientas +translation_of: Web/CSS/CSS_Background_and_Borders/Border-image_generator +original_slug: Web/CSS/CSS_Background_and_Borders/Border-image_generator +--- +

    Esta herramienta permite generar valores para CSS3 {{cssxref("border-image")}}

    + +

    {{ EmbedLiveSample('Border_Image_Generator', '100%', '1270px') }}

    + +

     

    diff --git a/files/es/web/css/css_backgrounds_and_borders/border-radius_generator/index.html b/files/es/web/css/css_backgrounds_and_borders/border-radius_generator/index.html new file mode 100644 index 0000000000..bd0dc7e058 --- /dev/null +++ b/files/es/web/css/css_backgrounds_and_borders/border-radius_generator/index.html @@ -0,0 +1,1602 @@ +--- +title: Generador de border-radius +slug: Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator +tags: + - Herramientas +translation_of: Web/CSS/CSS_Background_and_Borders/Border-radius_generator +original_slug: Web/CSS/CSS_Background_and_Borders/Border-radius_generator +--- +

    Esta herramienta puede ser usada para generar efectos de {{cssxref("border-radius")}} de CSS3.

    + + + +

    {{ EmbedLiveSample('border-radius-generator', '100%', '800px', '') }}

    + +

     

    diff --git a/files/fr/_redirects.txt b/files/fr/_redirects.txt index ca72b29e90..4524c14581 100644 --- a/files/fr/_redirects.txt +++ b/files/fr/_redirects.txt @@ -3927,8 +3927,8 @@ /fr/docs/Web/CSS/Animations_CSS/Détecter_la_prise_en_charge_des_animations_CSS /fr/docs/Web/CSS/CSS_Animations/Detecting_CSS_animation_support /fr/docs/Web/CSS/Animations_CSS/Utiliser_les_animations_CSS /fr/docs/Web/CSS/CSS_Animations/Using_CSS_animations /fr/docs/Web/CSS/Arrière-plans_et_bordures_CSS /fr/docs/conflicting/Web/CSS/CSS_Backgrounds_and_Borders -/fr/docs/Web/CSS/Arrière-plans_et_bordures_CSS/Générateur_border-image /fr/docs/Web/CSS/CSS_Background_and_Borders/Border-image_generator -/fr/docs/Web/CSS/Arrière-plans_et_bordures_CSS/Générateur_border-radius /fr/docs/Web/CSS/CSS_Background_and_Borders/Border-radius_generator +/fr/docs/Web/CSS/Arrière-plans_et_bordures_CSS/Générateur_border-image /fr/docs/Web/CSS/CSS_Backgrounds_and_Borders/Border-image_generator +/fr/docs/Web/CSS/Arrière-plans_et_bordures_CSS/Générateur_border-radius /fr/docs/Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator /fr/docs/Web/CSS/Arrière-plans_et_bordures_CSS/Scaling_background_images /fr/docs/Web/CSS/CSS_Backgrounds_and_Borders/Resizing_background_images /fr/docs/Web/CSS/Arrière-plans_et_bordures_CSS/Utiliser_des_fonds_multiples /fr/docs/Web/CSS/CSS_Backgrounds_and_Borders/Using_multiple_backgrounds /fr/docs/Web/CSS/Aural /fr/docs/Web/CSS/@media/aural @@ -3939,6 +3939,9 @@ /fr/docs/Web/CSS/CSS_:_la_propriété_animation-play-state /fr/docs/Web/CSS/animation-play-state /fr/docs/Web/CSS/CSS_Animations/Utiliser_les_animations_CSS /fr/docs/Web/CSS/CSS_Animations/Using_CSS_animations /fr/docs/Web/CSS/CSS_Background_and_Borders /fr/docs/conflicting/Web/CSS/CSS_Backgrounds_and_Borders +/fr/docs/Web/CSS/CSS_Background_and_Borders/Border-image_generator /fr/docs/Web/CSS/CSS_Backgrounds_and_Borders/Border-image_generator +/fr/docs/Web/CSS/CSS_Background_and_Borders/Border-radius_generator /fr/docs/Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator +/fr/docs/Web/CSS/CSS_Background_and_Borders/Box-shadow_generator /fr/docs/Web/CSS/CSS_Backgrounds_and_Borders/Box-shadow_generator /fr/docs/Web/CSS/CSS_Background_and_Borders/Scaling_background_images /fr/docs/Web/CSS/CSS_Backgrounds_and_Borders/Resizing_background_images /fr/docs/Web/CSS/CSS_Background_and_Borders/Utiliser_des_fonds_multiples /fr/docs/Web/CSS/CSS_Backgrounds_and_Borders/Using_multiple_backgrounds /fr/docs/Web/CSS/CSS_Backgrounds_and_Borders/Scaling_background_images /fr/docs/Web/CSS/CSS_Backgrounds_and_Borders/Resizing_background_images @@ -3948,7 +3951,7 @@ /fr/docs/Web/CSS/CSS_Box_Alignment/Alignement_boîtes_disposition_bloc_absolue_tableau /fr/docs/Web/CSS/CSS_Box_Alignment/Box_Alignment_In_Block_Abspos_Tables /fr/docs/Web/CSS/CSS_Box_Alignment/Alignement_boîtes_disposition_colonnes /fr/docs/Web/CSS/CSS_Box_Alignment/Box_Alignment_in_Multi-column_Layout /fr/docs/Web/CSS/CSS_Box_Alignment/Alignement_boîtes_disposition_grille /fr/docs/Web/CSS/CSS_Box_Alignment/Box_Alignment_In_Grid_Layout -/fr/docs/Web/CSS/CSS_Box_Model/Box-shadow_generator /fr/docs/Web/CSS/CSS_Background_and_Borders/Box-shadow_generator +/fr/docs/Web/CSS/CSS_Box_Model/Box-shadow_generator /fr/docs/Web/CSS/CSS_Backgrounds_and_Borders/Box-shadow_generator /fr/docs/Web/CSS/CSS_Colors /fr/docs/conflicting/Web/CSS/CSS_Color /fr/docs/Web/CSS/CSS_Columns/Concepts_base_multi-colonnes /fr/docs/Web/CSS/CSS_Columns/Basic_Concepts_of_Multicol /fr/docs/Web/CSS/CSS_Columns/Gestion_dépassement_multi-colonnes /fr/docs/Web/CSS/CSS_Columns/Handling_Overflow_in_Multicol @@ -4090,9 +4093,9 @@ /fr/docs/Web/CSS/Mode_de_mise_en_page /fr/docs/Web/CSS/Layout_mode /fr/docs/Web/CSS/Modèle_de_boîte /en-US/docs/Learn/CSS/Building_blocks/The_box_model /fr/docs/Web/CSS/Modèle_de_boîte_CSS /fr/docs/Web/CSS/CSS_Box_Model -/fr/docs/Web/CSS/Modèle_de_boîte_CSS/Box-shadow_generator /fr/docs/Web/CSS/CSS_Background_and_Borders/Box-shadow_generator +/fr/docs/Web/CSS/Modèle_de_boîte_CSS/Box-shadow_generator /fr/docs/Web/CSS/CSS_Backgrounds_and_Borders/Box-shadow_generator /fr/docs/Web/CSS/Modèle_de_boîte_CSS/Fusion_des_marges /fr/docs/Web/CSS/CSS_Box_Model/Mastering_margin_collapsing -/fr/docs/Web/CSS/Modèle_de_boîte_CSS/Générateur_box-shadow /fr/docs/Web/CSS/CSS_Background_and_Borders/Box-shadow_generator +/fr/docs/Web/CSS/Modèle_de_boîte_CSS/Générateur_box-shadow /fr/docs/Web/CSS/CSS_Backgrounds_and_Borders/Box-shadow_generator /fr/docs/Web/CSS/Modèle_de_boîte_CSS/Modèle_de_boîte /en-US/docs/Learn/CSS/Building_blocks/The_box_model /fr/docs/Web/CSS/Modèle_de_mise_en_forme_visuelle /fr/docs/Web/CSS/Visual_formatting_model /fr/docs/Web/CSS/Motion_Path /fr/docs/Web/CSS/CSS_Motion_Path diff --git a/files/fr/_wikihistory.json b/files/fr/_wikihistory.json index b4de7ff0ab..d71fb0691a 100644 --- a/files/fr/_wikihistory.json +++ b/files/fr/_wikihistory.json @@ -24440,19 +24440,25 @@ "FredB" ] }, - "Web/CSS/CSS_Background_and_Borders/Border-image_generator": { + "Web/CSS/CSS_Backgrounds_and_Borders": { + "modified": "2019-04-06T12:13:22.172Z", + "contributors": [ + "SphinxKnight" + ] + }, + "Web/CSS/CSS_Backgrounds_and_Borders/Border-image_generator": { "modified": "2019-03-23T22:30:30.328Z", "contributors": [ "SphinxKnight" ] }, - "Web/CSS/CSS_Background_and_Borders/Border-radius_generator": { + "Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator": { "modified": "2019-03-23T22:30:26.745Z", "contributors": [ "SphinxKnight" ] }, - "Web/CSS/CSS_Background_and_Borders/Box-shadow_generator": { + "Web/CSS/CSS_Backgrounds_and_Borders/Box-shadow_generator": { "modified": "2019-03-18T20:43:43.479Z", "contributors": [ "BychekRU", @@ -24460,12 +24466,6 @@ "kiux" ] }, - "Web/CSS/CSS_Backgrounds_and_Borders": { - "modified": "2019-04-06T12:13:22.172Z", - "contributors": [ - "SphinxKnight" - ] - }, "Web/CSS/CSS_Backgrounds_and_Borders/Resizing_background_images": { "modified": "2019-06-18T19:28:42.872Z", "contributors": [ diff --git a/files/fr/web/css/css_background_and_borders/border-image_generator/index.html b/files/fr/web/css/css_background_and_borders/border-image_generator/index.html deleted file mode 100644 index c0c5db61cd..0000000000 --- a/files/fr/web/css/css_background_and_borders/border-image_generator/index.html +++ /dev/null @@ -1,2627 +0,0 @@ ---- -title: Générateur de border-image -slug: Web/CSS/CSS_Background_and_Borders/Border-image_generator -tags: - - CSS - - Outil -translation_of: Web/CSS/CSS_Background_and_Borders/Border-image_generator -original_slug: Web/CSS/Arrière-plans_et_bordures_CSS/Générateur_border-image ---- -

    Cet outil peut être utilisé afin de générer des valeurs pour la propriété {{cssxref("border-image")}}.

    - - - -

    {{EmbedLiveSample('Border_Image_Generator', '100%', '1270px')}}

    diff --git a/files/fr/web/css/css_background_and_borders/border-radius_generator/index.html b/files/fr/web/css/css_background_and_borders/border-radius_generator/index.html deleted file mode 100644 index ac9bc500aa..0000000000 --- a/files/fr/web/css/css_background_and_borders/border-radius_generator/index.html +++ /dev/null @@ -1,1601 +0,0 @@ ---- -title: Générateur de border-radius -slug: Web/CSS/CSS_Background_and_Borders/Border-radius_generator -tags: - - CSS - - Outil -translation_of: Web/CSS/CSS_Background_and_Borders/Border-radius_generator -original_slug: Web/CSS/Arrière-plans_et_bordures_CSS/Générateur_border-radius ---- -

    Cet outil peut être utilisé afin de générer du code pour la propriété {{cssxref("border-radius")}}.

    - - - -

    {{EmbedLiveSample('border-radius-generator', '100%', '800px', '')}}

    diff --git a/files/fr/web/css/css_background_and_borders/box-shadow_generator/index.html b/files/fr/web/css/css_background_and_borders/box-shadow_generator/index.html deleted file mode 100644 index 282a53d6e4..0000000000 --- a/files/fr/web/css/css_background_and_borders/box-shadow_generator/index.html +++ /dev/null @@ -1,2888 +0,0 @@ ---- -title: Générateur de box-shadow -slug: Web/CSS/CSS_Background_and_Borders/Box-shadow_generator -tags: - - CSS - - Outil -translation_of: Web/CSS/CSS_Background_and_Borders/Box-shadow_generator -original_slug: Web/CSS/Modèle_de_boîte_CSS/Générateur_box-shadow ---- -

    Cet outil visuel permet de construire des effets d'ombre et de générer du code pour la propriété {{cssxref("box-shadow")}} qui pourra être ajouté à votre feuille de style.

    - - - -
    {{EmbedLiveSample('box-shadow_generator', '100%', '1100px', '')}}
    - -

    Voir aussi

    - - diff --git a/files/fr/web/css/css_backgrounds_and_borders/border-image_generator/index.html b/files/fr/web/css/css_backgrounds_and_borders/border-image_generator/index.html new file mode 100644 index 0000000000..9aa3cd49f6 --- /dev/null +++ b/files/fr/web/css/css_backgrounds_and_borders/border-image_generator/index.html @@ -0,0 +1,2627 @@ +--- +title: Générateur de border-image +slug: Web/CSS/CSS_Backgrounds_and_Borders/Border-image_generator +tags: + - CSS + - Outil +translation_of: Web/CSS/CSS_Background_and_Borders/Border-image_generator +original_slug: Web/CSS/CSS_Background_and_Borders/Border-image_generator +--- +

    Cet outil peut être utilisé afin de générer des valeurs pour la propriété {{cssxref("border-image")}}.

    + + + +

    {{EmbedLiveSample('Border_Image_Generator', '100%', '1270px')}}

    diff --git a/files/fr/web/css/css_backgrounds_and_borders/border-radius_generator/index.html b/files/fr/web/css/css_backgrounds_and_borders/border-radius_generator/index.html new file mode 100644 index 0000000000..993940bcdc --- /dev/null +++ b/files/fr/web/css/css_backgrounds_and_borders/border-radius_generator/index.html @@ -0,0 +1,1601 @@ +--- +title: Générateur de border-radius +slug: Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator +tags: + - CSS + - Outil +translation_of: Web/CSS/CSS_Background_and_Borders/Border-radius_generator +original_slug: Web/CSS/CSS_Background_and_Borders/Border-radius_generator +--- +

    Cet outil peut être utilisé afin de générer du code pour la propriété {{cssxref("border-radius")}}.

    + + + +

    {{EmbedLiveSample('border-radius-generator', '100%', '800px', '')}}

    diff --git a/files/fr/web/css/css_backgrounds_and_borders/box-shadow_generator/index.html b/files/fr/web/css/css_backgrounds_and_borders/box-shadow_generator/index.html new file mode 100644 index 0000000000..78e9288be3 --- /dev/null +++ b/files/fr/web/css/css_backgrounds_and_borders/box-shadow_generator/index.html @@ -0,0 +1,2888 @@ +--- +title: Générateur de box-shadow +slug: Web/CSS/CSS_Backgrounds_and_Borders/Box-shadow_generator +tags: + - CSS + - Outil +translation_of: Web/CSS/CSS_Background_and_Borders/Box-shadow_generator +original_slug: Web/CSS/CSS_Background_and_Borders/Box-shadow_generator +--- +

    Cet outil visuel permet de construire des effets d'ombre et de générer du code pour la propriété {{cssxref("box-shadow")}} qui pourra être ajouté à votre feuille de style.

    + + + +
    {{EmbedLiveSample('box-shadow_generator', '100%', '1100px', '')}}
    + +

    Voir aussi

    + + diff --git a/files/ja/_redirects.txt b/files/ja/_redirects.txt index 4097581c56..d9336691fd 100644 --- a/files/ja/_redirects.txt +++ b/files/ja/_redirects.txt @@ -3627,6 +3627,8 @@ /ja/docs/Web/CSS/Background_Backup /ja/docs/Web/CSS/background /ja/docs/Web/CSS/Block_formatting_context /ja/docs/Web/Guide/CSS/Block_formatting_context /ja/docs/Web/CSS/CSS_Background_and_Borders /ja/docs/Web/CSS/CSS_Backgrounds_and_Borders +/ja/docs/Web/CSS/CSS_Background_and_Borders/Border-image_generator /ja/docs/Web/CSS/CSS_Backgrounds_and_Borders/Border-image_generator +/ja/docs/Web/CSS/CSS_Background_and_Borders/Border-radius_generator /ja/docs/Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator /ja/docs/Web/CSS/CSS_Background_and_Borders/Using_CSS_multiple_backgrounds /ja/docs/Web/CSS/CSS_Backgrounds_and_Borders/Using_multiple_backgrounds /ja/docs/Web/CSS/CSS_Backgrounds_and_Borders/Scaling_background_images /ja/docs/Web/CSS/CSS_Backgrounds_and_Borders/Resizing_background_images /ja/docs/Web/CSS/CSS_Colors /en-US/docs/Web/CSS/CSS_Color @@ -4067,6 +4069,7 @@ /ja/docs/Web/HTTP/Response_codes/204 /ja/docs/Web/HTTP/Status/204 /ja/docs/Web/HTTP/Server-Side_Access_Control /ja/docs/Web/HTTP/CORS /ja/docs/Web/HTTP/X-Frame-Options /ja/docs/Web/HTTP/Headers/X-Frame-Options +/ja/docs/Web/Houdini /ja/docs/Web/Guide/Houdini /ja/docs/Web/JavaScript/Equality_comparisons_and_when_to_use_them /ja/docs/Web/JavaScript/Equality_comparisons_and_sameness /ja/docs/Web/JavaScript/Getting_Started /ja/docs/Learn/Getting_started_with_the_web/JavaScript_basics /ja/docs/Web/JavaScript/Guide/About /ja/docs/Web/JavaScript/Guide/Introduction diff --git a/files/ja/_wikihistory.json b/files/ja/_wikihistory.json index 10d645f85f..2c3fa16cec 100644 --- a/files/ja/_wikihistory.json +++ b/files/ja/_wikihistory.json @@ -28162,20 +28162,20 @@ "yyss" ] }, - "Web/CSS/CSS_Background_and_Borders/Border-image_generator": { - "modified": "2019-03-18T21:41:18.820Z", + "Web/CSS/CSS_Backgrounds_and_Borders": { + "modified": "2020-04-17T14:34:56.933Z", "contributors": [ "mfuji09" ] }, - "Web/CSS/CSS_Background_and_Borders/Border-radius_generator": { - "modified": "2020-02-13T14:54:34.325Z", + "Web/CSS/CSS_Backgrounds_and_Borders/Border-image_generator": { + "modified": "2019-03-18T21:41:18.820Z", "contributors": [ "mfuji09" ] }, - "Web/CSS/CSS_Backgrounds_and_Borders": { - "modified": "2020-04-17T14:34:56.933Z", + "Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator": { + "modified": "2020-02-13T14:54:34.325Z", "contributors": [ "mfuji09" ] @@ -31311,20 +31311,6 @@ "sosleepy" ] }, - "Web/CSS/image/image-set()": { - "modified": "2020-11-16T08:53:38.885Z", - "contributors": [ - "chrisdavidmills", - "mfuji09" - ] - }, - "Web/CSS/image/paint()": { - "modified": "2020-11-16T09:09:19.836Z", - "contributors": [ - "chrisdavidmills", - "mfuji09" - ] - }, "Web/CSS/image-orientation": { "modified": "2020-10-15T21:46:42.965Z", "contributors": [ @@ -31343,6 +31329,20 @@ "Taken" ] }, + "Web/CSS/image/image-set()": { + "modified": "2020-11-16T08:53:38.885Z", + "contributors": [ + "chrisdavidmills", + "mfuji09" + ] + }, + "Web/CSS/image/paint()": { + "modified": "2020-11-16T09:09:19.836Z", + "contributors": [ + "chrisdavidmills", + "mfuji09" + ] + }, "Web/CSS/ime-mode": { "modified": "2020-10-15T21:14:16.842Z", "contributors": [ @@ -33640,6 +33640,12 @@ "mfuji09" ] }, + "Web/Guide/Houdini": { + "modified": "2020-07-24T06:19:03.585Z", + "contributors": [ + "Wind1808" + ] + }, "Web/Guide/Index": { "modified": "2020-12-07T13:42:04.312Z", "contributors": [ @@ -37389,12 +37395,6 @@ "silverskyvicto" ] }, - "Web/Houdini": { - "modified": "2020-07-24T06:19:03.585Z", - "contributors": [ - "Wind1808" - ] - }, "Web/JavaScript": { "modified": "2020-11-14T07:07:05.393Z", "contributors": [ diff --git a/files/ja/web/css/css_background_and_borders/border-image_generator/index.html b/files/ja/web/css/css_background_and_borders/border-image_generator/index.html deleted file mode 100644 index 8ce5bab6e9..0000000000 --- a/files/ja/web/css/css_background_and_borders/border-image_generator/index.html +++ /dev/null @@ -1,2629 +0,0 @@ ---- -title: 境界画像作成ツール -slug: Web/CSS/CSS_Background_and_Borders/Border-image_generator -tags: - - CSS - - CSS 背景と境界 - - ツール -translation_of: Web/CSS/CSS_Background_and_Borders/Border-image_generator ---- -

    このツールを使用して、 CSS3 の {{cssxref("border-image")}} の値を作成できます。

    - - - -
    {{ EmbedLiveSample('Border_Image_Generator', '100%', '1270px') }}
    - -

     

    diff --git a/files/ja/web/css/css_background_and_borders/border-radius_generator/index.html b/files/ja/web/css/css_background_and_borders/border-radius_generator/index.html deleted file mode 100644 index 4ce39890a7..0000000000 --- a/files/ja/web/css/css_background_and_borders/border-radius_generator/index.html +++ /dev/null @@ -1,1602 +0,0 @@ ---- -title: Border-radius ジェネレーター -slug: Web/CSS/CSS_Background_and_Borders/Border-radius_generator -tags: - - CSS - - CSS Borders - - CSS 境界と背景 - - Tools -translation_of: Web/CSS/CSS_Background_and_Borders/Border-radius_generator ---- -

    このツールは CSS3 の {{cssxref("border-radius")}} の効果を生成するために使用することができます。

    - - - -
    {{ EmbedLiveSample('border-radius-generator', 700, 900) }}
    diff --git a/files/ja/web/css/css_backgrounds_and_borders/border-image_generator/index.html b/files/ja/web/css/css_backgrounds_and_borders/border-image_generator/index.html new file mode 100644 index 0000000000..521db7ba49 --- /dev/null +++ b/files/ja/web/css/css_backgrounds_and_borders/border-image_generator/index.html @@ -0,0 +1,2630 @@ +--- +title: 境界画像作成ツール +slug: Web/CSS/CSS_Backgrounds_and_Borders/Border-image_generator +tags: + - CSS + - CSS 背景と境界 + - ツール +translation_of: Web/CSS/CSS_Background_and_Borders/Border-image_generator +original_slug: Web/CSS/CSS_Background_and_Borders/Border-image_generator +--- +

    このツールを使用して、 CSS3 の {{cssxref("border-image")}} の値を作成できます。

    + + + +
    {{ EmbedLiveSample('Border_Image_Generator', '100%', '1270px') }}
    + +

     

    diff --git a/files/ja/web/css/css_backgrounds_and_borders/border-radius_generator/index.html b/files/ja/web/css/css_backgrounds_and_borders/border-radius_generator/index.html new file mode 100644 index 0000000000..cec4217518 --- /dev/null +++ b/files/ja/web/css/css_backgrounds_and_borders/border-radius_generator/index.html @@ -0,0 +1,1603 @@ +--- +title: Border-radius ジェネレーター +slug: Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator +tags: + - CSS + - CSS Borders + - CSS 境界と背景 + - Tools +translation_of: Web/CSS/CSS_Background_and_Borders/Border-radius_generator +original_slug: Web/CSS/CSS_Background_and_Borders/Border-radius_generator +--- +

    このツールは CSS3 の {{cssxref("border-radius")}} の効果を生成するために使用することができます。

    + + + +
    {{ EmbedLiveSample('border-radius-generator', 700, 900) }}
    diff --git a/files/ja/web/guide/houdini/index.html b/files/ja/web/guide/houdini/index.html new file mode 100644 index 0000000000..ab81169cda --- /dev/null +++ b/files/ja/web/guide/houdini/index.html @@ -0,0 +1,94 @@ +--- +title: CSS Houdini +slug: Web/Guide/Houdini +tags: + - API + - CSS + - Houdini + - JavaScript + - Landing + - Web +translation_of: Web/Houdini +original_slug: Web/Houdini +--- +

    Houdini は、CSS エンジンの一部を公開する低レベル API のセットであり、開発者はブラウザーのレンダリングエンジンのスタイリングおよびレイアウトプロセスにフックすることで CSS を拡張できます。 Houdini は、開発者が CSS オブジェクトモデル(CSSOM)に直接アクセスできるようにする API のグループです。 開発者は、ブラウザーが CSS として解析できるコードを記述できるため、ブラウザーにネイティブに実装されるのを待たずに新しい CSS 機能を作成できます。

    + +

    Houdini の利点

    + +

    Houdini は、スタイルの変更に JavaScript の .style を使用するよりも高速な解析時間を可能にします。 ブラウザーは、スクリプトで見つかったスタイルの更新を適用する前に、CSSOM(レイアウト、ペイント、合成のプロセスを含む)を解析します。 さらに、JavaScript スタイルの更新のために、レイアウト、ペイント、および合成のプロセスが繰り返されます。 Houdini のコードは、最初のレンダリングサイクルが完了するまで待機しません。 むしろ、それは最初のサイクルに含まれ、レンダリング可能で理解可能なスタイルを作成します。 Houdini は、JavaScript で CSS 値を操作するためのオブジェクトベースの API を提供します。

    + +

    Houdini の CSS Typed OM は、型とメソッドを備えた CSS オブジェクトモデルであり、値を JavaScript オブジェクトとして公開し、以前の文字列ベースの HTMLElement.style 操作よりも直感的な CSS 操作を実現します。 すべての要素とスタイルシートのルールには、StylePropertyMap を介してアクセスできるスタイルマップがあります。

    + +

    CSS Houdini の機能の1つはワークレット(Worklet)です。 ワークレットを使用すると、モジュール方式の CSS を作成できます。 構成可能なコンポーネントをインポートするには、次の JavaScript の1行が必要です。 プリプロセッサー、ポストプロセッサー、JavaScript フレームワークは必要ありません。

    + +
    <script>
    +  CSS.paintWorklet.addModule('csscomponent.js');
    +</script>
    +
    + +

    この追加されたモジュールには、完全に構成可能なワークレットを登録する registerPaint() 関数が含まれています。

    + +

    CSS の paint() 関数のパラメーターには、オプションのパラメーターとともに、ワークレットの名前が含まれます。 ワークレットは要素のカスタムプロパティにもアクセスできます。 これらは関数の引数として渡す必要はありません。

    + +
    li {
    +	background-image: paint(myComponent, stroke, 10px);
    +    --highlights: blue;
    +    --lowlights: green;
    +}
    + +
    +

    : 大きな力には大きな責任が伴います。 Houdini を使用すると、独自の石積み(masonry)、グリッド、またはリージョンの実装を発明できますが、そうすることが必ずしも最良の考えであるとは限りません。 CSS ワーキンググループは、すべての機能が確実に実行され、すべてのエッジケースを処理し、セキュリティ、プライバシー、およびアクセシビリティを考慮するために多くの作業を行います。 Houdini で CSS を拡張するときは、これらの考慮事項を念頭に置き、より野心的なプロジェクトに進む前に、まずは小さいものから始めてください。

    +
    + +

    Houdini の API

    + +

    以下に、Houdini の傘下にある API をカバーするメインリファレンスページへのリンクと、それらの使用方法を学習する際にガイダンスが必要な場合に役立つガイドへのリンクを示します。

    + + + +
    +
    CSS Parser API
    +
    任意の CSS のような言語を穏やかに型付けされた表現に解析するために、CSS パーサーをより直接的に公開する API。
    +
    + この API のガイドやリファレンスは現在書かれていません。
    +
    CSS Properties and Values API 
    +
    新しい CSS プロパティを登録するための API を定義します。 この API を使用して登録したプロパティには、型、継承の振る舞い、および初期値を定義する解析構文が提供されます。
    +
    + CSS Properties and Values API リファレンス
    + CSS Properties and Values API ガイド
    +
    +
    CSS Typed OM
    +
    CSSOM 値の文字列を意味のある型の JavaScript 表現に変換したり、元に戻したりすると、パフォーマンスのオーバーヘッドが大幅に増加する可能性があります。 CSS Typed OM は、CSS 値を型付き JavaScript オブジェクトとして公開し、パフォーマンスの高い操作を可能にします。
    +
    + CSS Typed OM リファレンス
    + CSS Typed OM ガイド
    +
    CSS Layout API 
    +
    +

    CSS の拡張性を改善するように設計されたこの API は、開発者が石積みやラインスナップなどの独自のレイアウトアルゴリズムを作成できるようにします。 まだネイティブでは利用できません。
    +
    + この API のガイドやリファレンスは現在書かれていません。

    +
    +
    CSS Painting API
    +
    +

    CSS の拡張性を向上させるために開発 — 開発者が paint() CSS 関数を介して要素の背景、境界線、またはコンテンツに直接描画できる JavaScript 関数を記述できるようにします。
    +
    + CSS Painting API リファレンス
    + CSS Painting API ガイド

    +
    +
    Worklets 
    +
    +

    メインの JavaScript 実行環境から独立した、レンダリングパイプラインのさまざまな段階でスクリプトを実行するための API。 ワークレットは概念的には Web Workers に似ており、レンダリングエンジンによって呼び出され、レンダリングエンジンを拡張します。
    +
    + Worklets リファレンス

    +
    +
    + +

    その他のトピック

    + +

    興味深い方法で Houdini API と連携して使用できるため、興味深い関連トピック。

    + +
    +
    合成スクロールとアニメーション
    +
    diff --git a/files/ja/web/houdini/index.html b/files/ja/web/houdini/index.html deleted file mode 100644 index df3539da77..0000000000 --- a/files/ja/web/houdini/index.html +++ /dev/null @@ -1,93 +0,0 @@ ---- -title: CSS Houdini -slug: Web/Houdini -tags: - - API - - CSS - - Houdini - - JavaScript - - Landing - - Web -translation_of: Web/Houdini ---- -

    Houdini は、CSS エンジンの一部を公開する低レベル API のセットであり、開発者はブラウザーのレンダリングエンジンのスタイリングおよびレイアウトプロセスにフックすることで CSS を拡張できます。 Houdini は、開発者が CSS オブジェクトモデル(CSSOM)に直接アクセスできるようにする API のグループです。 開発者は、ブラウザーが CSS として解析できるコードを記述できるため、ブラウザーにネイティブに実装されるのを待たずに新しい CSS 機能を作成できます。

    - -

    Houdini の利点

    - -

    Houdini は、スタイルの変更に JavaScript の .style を使用するよりも高速な解析時間を可能にします。 ブラウザーは、スクリプトで見つかったスタイルの更新を適用する前に、CSSOM(レイアウト、ペイント、合成のプロセスを含む)を解析します。 さらに、JavaScript スタイルの更新のために、レイアウト、ペイント、および合成のプロセスが繰り返されます。 Houdini のコードは、最初のレンダリングサイクルが完了するまで待機しません。 むしろ、それは最初のサイクルに含まれ、レンダリング可能で理解可能なスタイルを作成します。 Houdini は、JavaScript で CSS 値を操作するためのオブジェクトベースの API を提供します。

    - -

    Houdini の CSS Typed OM は、型とメソッドを備えた CSS オブジェクトモデルであり、値を JavaScript オブジェクトとして公開し、以前の文字列ベースの HTMLElement.style 操作よりも直感的な CSS 操作を実現します。 すべての要素とスタイルシートのルールには、StylePropertyMap を介してアクセスできるスタイルマップがあります。

    - -

    CSS Houdini の機能の1つはワークレット(Worklet)です。 ワークレットを使用すると、モジュール方式の CSS を作成できます。 構成可能なコンポーネントをインポートするには、次の JavaScript の1行が必要です。 プリプロセッサー、ポストプロセッサー、JavaScript フレームワークは必要ありません。

    - -
    <script>
    -  CSS.paintWorklet.addModule('csscomponent.js');
    -</script>
    -
    - -

    この追加されたモジュールには、完全に構成可能なワークレットを登録する registerPaint() 関数が含まれています。

    - -

    CSS の paint() 関数のパラメーターには、オプションのパラメーターとともに、ワークレットの名前が含まれます。 ワークレットは要素のカスタムプロパティにもアクセスできます。 これらは関数の引数として渡す必要はありません。

    - -
    li {
    -	background-image: paint(myComponent, stroke, 10px);
    -    --highlights: blue;
    -    --lowlights: green;
    -}
    - -
    -

    : 大きな力には大きな責任が伴います。 Houdini を使用すると、独自の石積み(masonry)、グリッド、またはリージョンの実装を発明できますが、そうすることが必ずしも最良の考えであるとは限りません。 CSS ワーキンググループは、すべての機能が確実に実行され、すべてのエッジケースを処理し、セキュリティ、プライバシー、およびアクセシビリティを考慮するために多くの作業を行います。 Houdini で CSS を拡張するときは、これらの考慮事項を念頭に置き、より野心的なプロジェクトに進む前に、まずは小さいものから始めてください。

    -
    - -

    Houdini の API

    - -

    以下に、Houdini の傘下にある API をカバーするメインリファレンスページへのリンクと、それらの使用方法を学習する際にガイダンスが必要な場合に役立つガイドへのリンクを示します。

    - - - -
    -
    CSS Parser API
    -
    任意の CSS のような言語を穏やかに型付けされた表現に解析するために、CSS パーサーをより直接的に公開する API。
    -
    - この API のガイドやリファレンスは現在書かれていません。
    -
    CSS Properties and Values API 
    -
    新しい CSS プロパティを登録するための API を定義します。 この API を使用して登録したプロパティには、型、継承の振る舞い、および初期値を定義する解析構文が提供されます。
    -
    - CSS Properties and Values API リファレンス
    - CSS Properties and Values API ガイド
    -
    -
    CSS Typed OM
    -
    CSSOM 値の文字列を意味のある型の JavaScript 表現に変換したり、元に戻したりすると、パフォーマンスのオーバーヘッドが大幅に増加する可能性があります。 CSS Typed OM は、CSS 値を型付き JavaScript オブジェクトとして公開し、パフォーマンスの高い操作を可能にします。
    -
    - CSS Typed OM リファレンス
    - CSS Typed OM ガイド
    -
    CSS Layout API 
    -
    -

    CSS の拡張性を改善するように設計されたこの API は、開発者が石積みやラインスナップなどの独自のレイアウトアルゴリズムを作成できるようにします。 まだネイティブでは利用できません。
    -
    - この API のガイドやリファレンスは現在書かれていません。

    -
    -
    CSS Painting API
    -
    -

    CSS の拡張性を向上させるために開発 — 開発者が paint() CSS 関数を介して要素の背景、境界線、またはコンテンツに直接描画できる JavaScript 関数を記述できるようにします。
    -
    - CSS Painting API リファレンス
    - CSS Painting API ガイド

    -
    -
    Worklets 
    -
    -

    メインの JavaScript 実行環境から独立した、レンダリングパイプラインのさまざまな段階でスクリプトを実行するための API。 ワークレットは概念的には Web Workers に似ており、レンダリングエンジンによって呼び出され、レンダリングエンジンを拡張します。
    -
    - Worklets リファレンス

    -
    -
    - -

    その他のトピック

    - -

    興味深い方法で Houdini API と連携して使用できるため、興味深い関連トピック。

    - -
    -
    合成スクロールとアニメーション
    -
    diff --git a/files/ko/_redirects.txt b/files/ko/_redirects.txt index 11da27c514..98641a59c2 100644 --- a/files/ko/_redirects.txt +++ b/files/ko/_redirects.txt @@ -502,6 +502,9 @@ /ko/docs/Web/API/window.screen.unlockOrientation /ko/docs/Web/API/Screen/unlockOrientation /ko/docs/Web/CSS/All_About_The_Containing_Block /ko/docs/Web/CSS/Containing_block /ko/docs/Web/CSS/CSS_Background_and_Borders /ko/docs/Web/CSS/CSS_Backgrounds_and_Borders +/ko/docs/Web/CSS/CSS_Background_and_Borders/Border-image_generator /ko/docs/Web/CSS/CSS_Backgrounds_and_Borders/Border-image_generator +/ko/docs/Web/CSS/CSS_Background_and_Borders/Border-radius_generator /ko/docs/Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator +/ko/docs/Web/CSS/CSS_Background_and_Borders/Box-shadow_generator /ko/docs/Web/CSS/CSS_Backgrounds_and_Borders/Box-shadow_generator /ko/docs/Web/CSS/CSS_Backgrounds_and_Borders/Scaling_background_images /ko/docs/Web/CSS/CSS_Backgrounds_and_Borders/Resizing_background_images /ko/docs/Web/CSS/CSS_Colors /ko/docs/Web/CSS/CSS_Color /ko/docs/Web/CSS/CSS_Flexible_Box_Layout/Flexbox의_기본_개념 /ko/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox diff --git a/files/ko/_wikihistory.json b/files/ko/_wikihistory.json index c666f061e0..3d73c38255 100644 --- a/files/ko/_wikihistory.json +++ b/files/ko/_wikihistory.json @@ -8035,33 +8035,33 @@ "jaemin_jo" ] }, - "Web/CSS/CSS_Background_and_Borders/Border-image_generator": { + "Web/CSS/CSS_Backgrounds_and_Borders": { + "modified": "2020-08-10T06:40:27.369Z", + "contributors": [ + "alattalatta", + "Sheppy" + ] + }, + "Web/CSS/CSS_Backgrounds_and_Borders/Border-image_generator": { "modified": "2019-03-20T10:30:55.489Z", "contributors": [ "alattalatta", "young-gratia" ] }, - "Web/CSS/CSS_Background_and_Borders/Border-radius_generator": { + "Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator": { "modified": "2019-03-20T10:29:25.952Z", "contributors": [ "alattalatta", "young-gratia" ] }, - "Web/CSS/CSS_Background_and_Borders/Box-shadow_generator": { + "Web/CSS/CSS_Backgrounds_and_Borders/Box-shadow_generator": { "modified": "2019-03-20T10:32:14.015Z", "contributors": [ "alattalatta" ] }, - "Web/CSS/CSS_Backgrounds_and_Borders": { - "modified": "2020-08-10T06:40:27.369Z", - "contributors": [ - "alattalatta", - "Sheppy" - ] - }, "Web/CSS/CSS_Backgrounds_and_Borders/Resizing_background_images": { "modified": "2019-04-08T10:28:17.719Z", "contributors": [ diff --git a/files/ko/web/css/css_background_and_borders/border-image_generator/index.html b/files/ko/web/css/css_background_and_borders/border-image_generator/index.html deleted file mode 100644 index 229a9eabd0..0000000000 --- a/files/ko/web/css/css_background_and_borders/border-image_generator/index.html +++ /dev/null @@ -1,2627 +0,0 @@ ---- -title: Border-image 생성기 -slug: Web/CSS/CSS_Background_and_Borders/Border-image_generator -tags: - - CSS - - CSS Borders - - Tools -translation_of: Web/CSS/CSS_Background_and_Borders/Border-image_generator ---- -

    이 도구를 사용해 CSS3 {{cssxref("border-image")}} 값을 생성할 수 있습니다.

    - - - -
    {{ EmbedLiveSample('Border_Image_Generator', '100%', '1270px') }}
    diff --git a/files/ko/web/css/css_background_and_borders/border-radius_generator/index.html b/files/ko/web/css/css_background_and_borders/border-radius_generator/index.html deleted file mode 100644 index db9310aa83..0000000000 --- a/files/ko/web/css/css_background_and_borders/border-radius_generator/index.html +++ /dev/null @@ -1,1601 +0,0 @@ ---- -title: Border-radius 생성기 -slug: Web/CSS/CSS_Background_and_Borders/Border-radius_generator -tags: - - CSS - - CSS Borders - - Tools -translation_of: Web/CSS/CSS_Background_and_Borders/Border-radius_generator ---- -

    이 도구를 사용해 CSS3 {{cssxref("border-radius")}} 값을 생성할 수 있습니다.

    - - - -
    {{ EmbedLiveSample('border-radius-generator', 700, 900) }}
    diff --git a/files/ko/web/css/css_background_and_borders/box-shadow_generator/index.html b/files/ko/web/css/css_background_and_borders/box-shadow_generator/index.html deleted file mode 100644 index 63a6166cd1..0000000000 --- a/files/ko/web/css/css_background_and_borders/box-shadow_generator/index.html +++ /dev/null @@ -1,2881 +0,0 @@ ---- -title: Box-shadow 생성기 -slug: Web/CSS/CSS_Background_and_Borders/Box-shadow_generator -tags: - - CSS - - Tools -translation_of: Web/CSS/CSS_Background_and_Borders/Box-shadow_generator ---- -

    이 도구를 사용해 CSS {{cssxref("box-shadow")}} 효과를 생성할 수 있습니다.

    - - - -
    {{ EmbedLiveSample('box-shadow_generator', '100%', '1100px', '') }}
    diff --git a/files/ko/web/css/css_backgrounds_and_borders/border-image_generator/index.html b/files/ko/web/css/css_backgrounds_and_borders/border-image_generator/index.html new file mode 100644 index 0000000000..6b9954d8a5 --- /dev/null +++ b/files/ko/web/css/css_backgrounds_and_borders/border-image_generator/index.html @@ -0,0 +1,2628 @@ +--- +title: Border-image 생성기 +slug: Web/CSS/CSS_Backgrounds_and_Borders/Border-image_generator +tags: + - CSS + - CSS Borders + - Tools +translation_of: Web/CSS/CSS_Background_and_Borders/Border-image_generator +original_slug: Web/CSS/CSS_Background_and_Borders/Border-image_generator +--- +

    이 도구를 사용해 CSS3 {{cssxref("border-image")}} 값을 생성할 수 있습니다.

    + + + +
    {{ EmbedLiveSample('Border_Image_Generator', '100%', '1270px') }}
    diff --git a/files/ko/web/css/css_backgrounds_and_borders/border-radius_generator/index.html b/files/ko/web/css/css_backgrounds_and_borders/border-radius_generator/index.html new file mode 100644 index 0000000000..c42e523de9 --- /dev/null +++ b/files/ko/web/css/css_backgrounds_and_borders/border-radius_generator/index.html @@ -0,0 +1,1602 @@ +--- +title: Border-radius 생성기 +slug: Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator +tags: + - CSS + - CSS Borders + - Tools +translation_of: Web/CSS/CSS_Background_and_Borders/Border-radius_generator +original_slug: Web/CSS/CSS_Background_and_Borders/Border-radius_generator +--- +

    이 도구를 사용해 CSS3 {{cssxref("border-radius")}} 값을 생성할 수 있습니다.

    + + + +
    {{ EmbedLiveSample('border-radius-generator', 700, 900) }}
    diff --git a/files/ko/web/css/css_backgrounds_and_borders/box-shadow_generator/index.html b/files/ko/web/css/css_backgrounds_and_borders/box-shadow_generator/index.html new file mode 100644 index 0000000000..d74321854c --- /dev/null +++ b/files/ko/web/css/css_backgrounds_and_borders/box-shadow_generator/index.html @@ -0,0 +1,2882 @@ +--- +title: Box-shadow 생성기 +slug: Web/CSS/CSS_Backgrounds_and_Borders/Box-shadow_generator +tags: + - CSS + - Tools +translation_of: Web/CSS/CSS_Background_and_Borders/Box-shadow_generator +original_slug: Web/CSS/CSS_Background_and_Borders/Box-shadow_generator +--- +

    이 도구를 사용해 CSS {{cssxref("box-shadow")}} 효과를 생성할 수 있습니다.

    + + + +
    {{ EmbedLiveSample('box-shadow_generator', '100%', '1100px', '') }}
    diff --git a/files/pt-br/_redirects.txt b/files/pt-br/_redirects.txt index daca4b07f7..6f1dea3e46 100644 --- a/files/pt-br/_redirects.txt +++ b/files/pt-br/_redirects.txt @@ -566,6 +566,8 @@ /pt-BR/docs/Web/CSS/-moz-box-ordinal-group /pt-BR/docs/Web/CSS/box-ordinal-group /pt-BR/docs/Web/CSS/CSS_Animations/Usando_animações_CSS /pt-BR/docs/Web/CSS/CSS_Animations/Using_CSS_animations /pt-BR/docs/Web/CSS/CSS_Background_and_Borders /pt-BR/docs/Web/CSS/CSS_Backgrounds_and_Borders +/pt-BR/docs/Web/CSS/CSS_Background_and_Borders/Border-image_generator /pt-BR/docs/Web/CSS/CSS_Backgrounds_and_Borders/Border-image_generator +/pt-BR/docs/Web/CSS/CSS_Background_and_Borders/Border-radius_generator /pt-BR/docs/Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator /pt-BR/docs/Web/CSS/CSS_Background_and_Borders/Using_CSS_multiple_backgrounds /pt-BR/docs/Web/CSS/CSS_Backgrounds_and_Borders/Using_multiple_backgrounds /pt-BR/docs/Web/CSS/CSS_Box_Model/margin_collapsing /pt-BR/docs/Web/CSS/CSS_Box_Model/Mastering_margin_collapsing /pt-BR/docs/Web/CSS/CSS_Colors/seletor_de_cores /pt-BR/docs/Web/CSS/CSS_Colors/Color_picker_tool @@ -587,8 +589,8 @@ /pt-BR/docs/Web/CSS/Seletor_universal /pt-BR/docs/Web/CSS/Universal_selectors /pt-BR/docs/Web/CSS/Seletores_CSS /pt-BR/docs/Web/CSS/CSS_Selectors /pt-BR/docs/Web/CSS/Sintexe_valor /pt-BR/docs/Web/CSS/Value_definition_syntax -/pt-BR/docs/Web/CSS/Tools/Border-image_generator /pt-BR/docs/Web/CSS/CSS_Background_and_Borders/Border-image_generator -/pt-BR/docs/Web/CSS/Tools/Border-radius_generator /pt-BR/docs/Web/CSS/CSS_Background_and_Borders/Border-radius_generator +/pt-BR/docs/Web/CSS/Tools/Border-image_generator /pt-BR/docs/Web/CSS/CSS_Backgrounds_and_Borders/Border-image_generator +/pt-BR/docs/Web/CSS/Tools/Border-radius_generator /pt-BR/docs/Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator /pt-BR/docs/Web/CSS/Using_CSS_variables /pt-BR/docs/Web/CSS/Using_CSS_custom_properties /pt-BR/docs/Web/CSS/Valor_atual /pt-BR/docs/Web/CSS/actual_value /pt-BR/docs/Web/CSS/Valor_resolvido /pt-BR/docs/Web/CSS/resolved_value diff --git a/files/pt-br/_wikihistory.json b/files/pt-br/_wikihistory.json index 42e4e9b280..017e0afb74 100644 --- a/files/pt-br/_wikihistory.json +++ b/files/pt-br/_wikihistory.json @@ -7584,25 +7584,25 @@ "francisco.hansen" ] }, - "Web/CSS/CSS_Background_and_Borders/Border-image_generator": { + "Web/CSS/CSS_Backgrounds_and_Borders": { + "modified": "2019-03-23T22:44:11.690Z", + "contributors": [ + "teoli" + ] + }, + "Web/CSS/CSS_Backgrounds_and_Borders/Border-image_generator": { "modified": "2019-05-06T10:31:39.391Z", "contributors": [ "leodeJESUS", "Torto" ] }, - "Web/CSS/CSS_Background_and_Borders/Border-radius_generator": { + "Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator": { "modified": "2019-03-23T23:07:37.174Z", "contributors": [ "Torto" ] }, - "Web/CSS/CSS_Backgrounds_and_Borders": { - "modified": "2019-03-23T22:44:11.690Z", - "contributors": [ - "teoli" - ] - }, "Web/CSS/CSS_Backgrounds_and_Borders/Resizing_background_images": { "modified": "2019-03-23T22:59:50.758Z", "contributors": [ diff --git a/files/pt-br/web/css/css_background_and_borders/border-image_generator/index.html b/files/pt-br/web/css/css_background_and_borders/border-image_generator/index.html deleted file mode 100644 index 019e1d81cf..0000000000 --- a/files/pt-br/web/css/css_background_and_borders/border-image_generator/index.html +++ /dev/null @@ -1,2628 +0,0 @@ ---- -title: Gerador de Border-image -slug: Web/CSS/CSS_Background_and_Borders/Border-image_generator -tags: - - Alternativas CSS -translation_of: Web/CSS/CSS_Background_and_Borders/Border-image_generator -original_slug: Web/CSS/Tools/Border-image_generator ---- -

    Esta ferramenta pode ser utilizada para gerar o valor {{cssxref("border-image")}} em CSS3.

    - - - -

    {{ EmbedLiveSample('Border_Image_Generator', '100%', '1270px') }}

    - -

     

    diff --git a/files/pt-br/web/css/css_background_and_borders/border-radius_generator/index.html b/files/pt-br/web/css/css_background_and_borders/border-radius_generator/index.html deleted file mode 100644 index 003d65cb31..0000000000 --- a/files/pt-br/web/css/css_background_and_borders/border-radius_generator/index.html +++ /dev/null @@ -1,1594 +0,0 @@ ---- -title: Gerador de Border-radius -slug: Web/CSS/CSS_Background_and_Borders/Border-radius_generator -tags: - - CSS - - Ferramentas -translation_of: Web/CSS/CSS_Background_and_Borders/Border-radius_generator -original_slug: Web/CSS/Tools/Border-radius_generator ---- -

    Esta ferramenta pode ser utilizada para gerar o efeito {{cssxref("border-radius")}} em CSS3.

    - -

    {{ EmbedLiveSample('border-radius-generator', '100%', '800px', '') }}

    -

     

    diff --git a/files/pt-br/web/css/css_backgrounds_and_borders/border-image_generator/index.html b/files/pt-br/web/css/css_backgrounds_and_borders/border-image_generator/index.html new file mode 100644 index 0000000000..ac8d0c6c1e --- /dev/null +++ b/files/pt-br/web/css/css_backgrounds_and_borders/border-image_generator/index.html @@ -0,0 +1,2628 @@ +--- +title: Gerador de Border-image +slug: Web/CSS/CSS_Backgrounds_and_Borders/Border-image_generator +tags: + - Alternativas CSS +translation_of: Web/CSS/CSS_Background_and_Borders/Border-image_generator +original_slug: Web/CSS/CSS_Background_and_Borders/Border-image_generator +--- +

    Esta ferramenta pode ser utilizada para gerar o valor {{cssxref("border-image")}} em CSS3.

    + + + +

    {{ EmbedLiveSample('Border_Image_Generator', '100%', '1270px') }}

    + +

     

    diff --git a/files/pt-br/web/css/css_backgrounds_and_borders/border-radius_generator/index.html b/files/pt-br/web/css/css_backgrounds_and_borders/border-radius_generator/index.html new file mode 100644 index 0000000000..5567efa9f5 --- /dev/null +++ b/files/pt-br/web/css/css_backgrounds_and_borders/border-radius_generator/index.html @@ -0,0 +1,1594 @@ +--- +title: Gerador de Border-radius +slug: Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator +tags: + - CSS + - Ferramentas +translation_of: Web/CSS/CSS_Background_and_Borders/Border-radius_generator +original_slug: Web/CSS/CSS_Background_and_Borders/Border-radius_generator +--- +

    Esta ferramenta pode ser utilizada para gerar o efeito {{cssxref("border-radius")}} em CSS3.

    + +

    {{ EmbedLiveSample('border-radius-generator', '100%', '800px', '') }}

    +

     

    diff --git a/files/ru/_redirects.txt b/files/ru/_redirects.txt index 619625d281..3a867ba603 100644 --- a/files/ru/_redirects.txt +++ b/files/ru/_redirects.txt @@ -383,10 +383,13 @@ /ru/docs/Web/CSS/Adjacent_sibling_selectors /ru/docs/Web/CSS/Adjacent_sibling_combinator /ru/docs/Web/CSS/CSS_Animations/Ispolzovanie_CSS_animatciy /ru/docs/Web/CSS/CSS_Animations/Using_CSS_animations /ru/docs/Web/CSS/CSS_Background_and_Borders /ru/docs/Web/CSS/CSS_Backgrounds_and_Borders -/ru/docs/Web/CSS/CSS_Background_and_Borders/Border-radius_генератор /ru/docs/Web/CSS/CSS_Background_and_Borders/Border-radius_generator +/ru/docs/Web/CSS/CSS_Background_and_Borders/Border-image_generator /ru/docs/Web/CSS/CSS_Backgrounds_and_Borders/Border-image_generator +/ru/docs/Web/CSS/CSS_Background_and_Borders/Border-radius_generator /ru/docs/Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator +/ru/docs/Web/CSS/CSS_Background_and_Borders/Border-radius_генератор /ru/docs/Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator +/ru/docs/Web/CSS/CSS_Background_and_Borders/Box-shadow_generator /ru/docs/Web/CSS/CSS_Backgrounds_and_Borders/Box-shadow_generator /ru/docs/Web/CSS/CSS_Background_and_Borders/Множественные_фоны /ru/docs/Web/CSS/CSS_Backgrounds_and_Borders/Using_multiple_backgrounds /ru/docs/Web/CSS/CSS_Basic_User_Interface/Использование_URL_значений_для_свойства_cursor /ru/docs/Web/CSS/CSS_Basic_User_Interface/Using_URL_values_for_the_cursor_property -/ru/docs/Web/CSS/CSS_Box_Model/Box-shadow_generator /ru/docs/Web/CSS/CSS_Background_and_Borders/Box-shadow_generator +/ru/docs/Web/CSS/CSS_Box_Model/Box-shadow_generator /ru/docs/Web/CSS/CSS_Backgrounds_and_Borders/Box-shadow_generator /ru/docs/Web/CSS/CSS_Colors /ru/docs/Web/CSS/CSS_Color /ru/docs/Web/CSS/CSS_Flexible_Box_Layout/Выравнивание_элементов_в_Flex_контейнере /ru/docs/Web/CSS/CSS_Flexible_Box_Layout/Aligning_Items_in_a_Flex_Container /ru/docs/Web/CSS/CSS_Flexible_Box_Layout/Контролирование_соотношения_элементов_вдоль_главной_оси /ru/docs/Web/CSS/CSS_Flexible_Box_Layout/Controlling_Ratios_of_Flex_Items_Along_the_Main_Ax diff --git a/files/ru/_wikihistory.json b/files/ru/_wikihistory.json index 43fa9641e5..1e12d65056 100644 --- a/files/ru/_wikihistory.json +++ b/files/ru/_wikihistory.json @@ -12741,30 +12741,30 @@ "ukarim" ] }, - "Web/CSS/CSS_Background_and_Borders/Border-image_generator": { + "Web/CSS/CSS_Backgrounds_and_Borders": { + "modified": "2019-03-23T22:40:44.971Z", + "contributors": [ + "teoli" + ] + }, + "Web/CSS/CSS_Backgrounds_and_Borders/Border-image_generator": { "modified": "2019-03-23T22:25:50.600Z", "contributors": [ "BychekRU" ] }, - "Web/CSS/CSS_Background_and_Borders/Border-radius_generator": { + "Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator": { "modified": "2019-03-23T22:40:49.075Z", "contributors": [ "vito_falcone" ] }, - "Web/CSS/CSS_Background_and_Borders/Box-shadow_generator": { + "Web/CSS/CSS_Backgrounds_and_Borders/Box-shadow_generator": { "modified": "2019-03-18T20:43:50.074Z", "contributors": [ "BychekRU" ] }, - "Web/CSS/CSS_Backgrounds_and_Borders": { - "modified": "2019-03-23T22:40:44.971Z", - "contributors": [ - "teoli" - ] - }, "Web/CSS/CSS_Backgrounds_and_Borders/Using_multiple_backgrounds": { "modified": "2019-03-23T22:13:04.810Z", "contributors": [ diff --git a/files/ru/web/css/css_background_and_borders/border-image_generator/index.html b/files/ru/web/css/css_background_and_borders/border-image_generator/index.html deleted file mode 100644 index 8e798f9292..0000000000 --- a/files/ru/web/css/css_background_and_borders/border-image_generator/index.html +++ /dev/null @@ -1,2628 +0,0 @@ ---- -title: Генератор Border-image -slug: Web/CSS/CSS_Background_and_Borders/Border-image_generator -tags: - - CSS - - Tools -translation_of: Web/CSS/CSS_Background_and_Borders/Border-image_generator ---- -

    Этот инструмент можно использовать, чтобы генерировать CSS3 значения {{cssxref("border-image")}}.

    - - - -

    {{ EmbedLiveSample('Border_Image_Generator', '100%', '1270px') }}

    - -

     

    diff --git a/files/ru/web/css/css_background_and_borders/border-radius_generator/index.html b/files/ru/web/css/css_background_and_borders/border-radius_generator/index.html deleted file mode 100644 index d8aafac807..0000000000 --- a/files/ru/web/css/css_background_and_borders/border-radius_generator/index.html +++ /dev/null @@ -1,1600 +0,0 @@ ---- -title: Border-radius генератор -slug: Web/CSS/CSS_Background_and_Borders/Border-radius_generator -translation_of: Web/CSS/CSS_Background_and_Borders/Border-radius_generator -original_slug: Web/CSS/CSS_Background_and_Borders/Border-radius_генератор ---- -

    С помощью этого инструмента вы можете создать CSS3 {{cssxref("border-radius")}} эффекты.

    - - - -

    {{ EmbedLiveSample('border-radius-generator', '100%', '800px', '') }}

    - -

     

    diff --git a/files/ru/web/css/css_background_and_borders/box-shadow_generator/index.html b/files/ru/web/css/css_background_and_borders/box-shadow_generator/index.html deleted file mode 100644 index 4530073ad2..0000000000 --- a/files/ru/web/css/css_background_and_borders/box-shadow_generator/index.html +++ /dev/null @@ -1,2885 +0,0 @@ ---- -title: Генератор теней -slug: Web/CSS/CSS_Background_and_Borders/Box-shadow_generator -tags: - - CSS3 - - Тень - - инструменты -translation_of: Web/CSS/CSS_Background_and_Borders/Box-shadow_generator -original_slug: Web/CSS/CSS_Box_Model/Box-shadow_generator ---- -

    Этот инструмент позволяет вам создавать CSS {{cssxref("box-shadow")}} эффекты, добавлять тени вашим элементам.

    - - - -
    {{ EmbedLiveSample('box-shadow_generator', '100%', '1100px', '') }}
    - -

    Похожий инструмент: Генератор CSS Box Shadow

    diff --git a/files/ru/web/css/css_backgrounds_and_borders/border-image_generator/index.html b/files/ru/web/css/css_backgrounds_and_borders/border-image_generator/index.html new file mode 100644 index 0000000000..ebd9771810 --- /dev/null +++ b/files/ru/web/css/css_backgrounds_and_borders/border-image_generator/index.html @@ -0,0 +1,2629 @@ +--- +title: Генератор Border-image +slug: Web/CSS/CSS_Backgrounds_and_Borders/Border-image_generator +tags: + - CSS + - Tools +translation_of: Web/CSS/CSS_Background_and_Borders/Border-image_generator +original_slug: Web/CSS/CSS_Background_and_Borders/Border-image_generator +--- +

    Этот инструмент можно использовать, чтобы генерировать CSS3 значения {{cssxref("border-image")}}.

    + + + +

    {{ EmbedLiveSample('Border_Image_Generator', '100%', '1270px') }}

    + +

     

    diff --git a/files/ru/web/css/css_backgrounds_and_borders/border-radius_generator/index.html b/files/ru/web/css/css_backgrounds_and_borders/border-radius_generator/index.html new file mode 100644 index 0000000000..103a3e0965 --- /dev/null +++ b/files/ru/web/css/css_backgrounds_and_borders/border-radius_generator/index.html @@ -0,0 +1,1600 @@ +--- +title: Border-radius генератор +slug: Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator +translation_of: Web/CSS/CSS_Background_and_Borders/Border-radius_generator +original_slug: Web/CSS/CSS_Background_and_Borders/Border-radius_generator +--- +

    С помощью этого инструмента вы можете создать CSS3 {{cssxref("border-radius")}} эффекты.

    + + + +

    {{ EmbedLiveSample('border-radius-generator', '100%', '800px', '') }}

    + +

     

    diff --git a/files/ru/web/css/css_backgrounds_and_borders/box-shadow_generator/index.html b/files/ru/web/css/css_backgrounds_and_borders/box-shadow_generator/index.html new file mode 100644 index 0000000000..8252c21112 --- /dev/null +++ b/files/ru/web/css/css_backgrounds_and_borders/box-shadow_generator/index.html @@ -0,0 +1,2885 @@ +--- +title: Генератор теней +slug: Web/CSS/CSS_Backgrounds_and_Borders/Box-shadow_generator +tags: + - CSS3 + - Тень + - инструменты +translation_of: Web/CSS/CSS_Background_and_Borders/Box-shadow_generator +original_slug: Web/CSS/CSS_Background_and_Borders/Box-shadow_generator +--- +

    Этот инструмент позволяет вам создавать CSS {{cssxref("box-shadow")}} эффекты, добавлять тени вашим элементам.

    + + + +
    {{ EmbedLiveSample('box-shadow_generator', '100%', '1100px', '') }}
    + +

    Похожий инструмент: Генератор CSS Box Shadow

    diff --git a/files/zh-cn/_redirects.txt b/files/zh-cn/_redirects.txt index 566a22782a..5653358610 100644 --- a/files/zh-cn/_redirects.txt +++ b/files/zh-cn/_redirects.txt @@ -1670,9 +1670,12 @@ /zh-CN/docs/Web/CSS/Block_formatting_context /zh-CN/docs/Web/Guide/CSS/Block_formatting_context /zh-CN/docs/Web/CSS/CSS3中的关键帧 /zh-CN/docs/Web/CSS/@keyframes /zh-CN/docs/Web/CSS/CSSOM_View/坐标系 /zh-CN/docs/Web/CSS/CSSOM_View/Coordinate_systems -/zh-CN/docs/Web/CSS/CSS_Background_and_Borders/圆角边框发生器 /zh-CN/docs/Web/CSS/CSS_Background_and_Borders/Border-radius_generator +/zh-CN/docs/Web/CSS/CSS_Background_and_Borders/Border-image_generator /zh-CN/docs/Web/CSS/CSS_Backgrounds_and_Borders/Border-image_generator +/zh-CN/docs/Web/CSS/CSS_Background_and_Borders/Border-radius_generator /zh-CN/docs/Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator +/zh-CN/docs/Web/CSS/CSS_Background_and_Borders/Box-shadow_generator /zh-CN/docs/Web/CSS/CSS_Backgrounds_and_Borders/Box-shadow_generator +/zh-CN/docs/Web/CSS/CSS_Background_and_Borders/圆角边框发生器 /zh-CN/docs/Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator /zh-CN/docs/Web/CSS/CSS_Backgrounds_and_Borders/Scaling_background_images /zh-CN/docs/Web/CSS/CSS_Backgrounds_and_Borders/Resizing_background_images -/zh-CN/docs/Web/CSS/CSS_Box_Model/Box-shadow_generator /zh-CN/docs/Web/CSS/CSS_Background_and_Borders/Box-shadow_generator +/zh-CN/docs/Web/CSS/CSS_Box_Model/Box-shadow_generator /zh-CN/docs/Web/CSS/CSS_Backgrounds_and_Borders/Box-shadow_generator /zh-CN/docs/Web/CSS/CSS_Flexible_Box_Layout/Flexbox_的_向下_支持 /zh-CN/docs/Web/CSS/CSS_Flexible_Box_Layout/Backwards_Compatibility_of_Flexbox /zh-CN/docs/Web/CSS/CSS_Flexible_Box_Layout/典型_用例_的_Flexbox /zh-CN/docs/Web/CSS/CSS_Flexible_Box_Layout/Typical_Use_Cases_of_Flexbox /zh-CN/docs/Web/CSS/CSS_Flexible_Box_Layout/弹性盒子与其他布局方法的联系 /zh-CN/docs/Web/CSS/CSS_Flexible_Box_Layout/Relationship_of_Flexbox_to_Other_Layout_Methods @@ -1968,6 +1971,7 @@ /zh-CN/docs/Web/HTTP/策略特征/Using_Feature_Policy /zh-CN/docs/Web/HTTP/Feature_Policy/Using_Feature_Policy /zh-CN/docs/Web/HTTP/缓存_FAQ /zh-CN/docs/Web/HTTP/Caching /zh-CN/docs/Web/HTTP/重定向 /zh-CN/docs/Web/HTTP/Redirections +/zh-CN/docs/Web/Houdini /zh-CN/docs/Web/Guide/Houdini /zh-CN/docs/Web/JavaScript/Equality_comparisons_and_when_to_use_them /zh-CN/docs/Web/JavaScript/Equality_comparisons_and_sameness /zh-CN/docs/Web/JavaScript/Guide/Closures /zh-CN/docs/Web/JavaScript/Closures /zh-CN/docs/Web/JavaScript/Guide/Equality_comparisons_and_when_to_use_them /zh-CN/docs/Web/JavaScript/Equality_comparisons_and_sameness diff --git a/files/zh-cn/_wikihistory.json b/files/zh-cn/_wikihistory.json index c7337931f9..d2764ca101 100644 --- a/files/zh-cn/_wikihistory.json +++ b/files/zh-cn/_wikihistory.json @@ -26104,14 +26104,22 @@ "hutuxu" ] }, - "Web/CSS/CSS_Background_and_Borders/Border-image_generator": { + "Web/CSS/CSS_Backgrounds_and_Borders": { + "modified": "2019-03-18T21:45:20.317Z", + "contributors": [ + "PythonVsJava", + "RainSlide", + "Sheppy" + ] + }, + "Web/CSS/CSS_Backgrounds_and_Borders/Border-image_generator": { "modified": "2019-03-18T21:15:13.389Z", "contributors": [ "Ende93", "yellowstar1992" ] }, - "Web/CSS/CSS_Background_and_Borders/Border-radius_generator": { + "Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator": { "modified": "2019-03-23T22:42:48.406Z", "contributors": [ "FrontENG", @@ -26119,7 +26127,7 @@ "regiondavid" ] }, - "Web/CSS/CSS_Background_and_Borders/Box-shadow_generator": { + "Web/CSS/CSS_Backgrounds_and_Borders/Box-shadow_generator": { "modified": "2019-03-18T20:43:42.671Z", "contributors": [ "BychekRU", @@ -26127,14 +26135,6 @@ "charlie" ] }, - "Web/CSS/CSS_Backgrounds_and_Borders": { - "modified": "2019-03-18T21:45:20.317Z", - "contributors": [ - "PythonVsJava", - "RainSlide", - "Sheppy" - ] - }, "Web/CSS/CSS_Backgrounds_and_Borders/Resizing_background_images": { "modified": "2019-03-18T21:38:07.175Z", "contributors": [ @@ -31070,6 +31070,16 @@ "Teago" ] }, + "Web/Guide/Houdini": { + "modified": "2020-11-21T05:08:58.458Z", + "contributors": [ + "xusy", + "bingoYB", + "cutefcc", + "sunfeel", + "xgqfrms" + ] + }, "Web/Guide/Introduction_to_Web_development": { "modified": "2019-03-24T00:00:33.366Z", "contributors": [ @@ -35156,16 +35166,6 @@ "WayneCui" ] }, - "Web/Houdini": { - "modified": "2020-11-21T05:08:58.458Z", - "contributors": [ - "xusy", - "bingoYB", - "cutefcc", - "sunfeel", - "xgqfrms" - ] - }, "Web/JavaScript": { "modified": "2020-09-21T00:46:20.876Z", "contributors": [ diff --git a/files/zh-cn/web/css/css_background_and_borders/border-image_generator/index.html b/files/zh-cn/web/css/css_background_and_borders/border-image_generator/index.html deleted file mode 100644 index 85b576cfd7..0000000000 --- a/files/zh-cn/web/css/css_background_and_borders/border-image_generator/index.html +++ /dev/null @@ -1,2628 +0,0 @@ ---- -title: Border-image 生成器 -slug: Web/CSS/CSS_Background_and_Borders/Border-image_generator -tags: - - CSS - - Tools -translation_of: Web/CSS/CSS_Background_and_Borders/Border-image_generator ---- -

    这个工具用于生成 CSS3 {{cssxref("border-image")}} 的值.

    - - - -

    {{ EmbedLiveSample('Border_Image_Generator', '100%', '1270px') }}

    - -

     

    diff --git a/files/zh-cn/web/css/css_background_and_borders/border-radius_generator/index.html b/files/zh-cn/web/css/css_background_and_borders/border-radius_generator/index.html deleted file mode 100644 index 70ffc1aad1..0000000000 --- a/files/zh-cn/web/css/css_background_and_borders/border-radius_generator/index.html +++ /dev/null @@ -1,1600 +0,0 @@ ---- -title: 圆角边框生成器 -slug: Web/CSS/CSS_Background_and_Borders/Border-radius_generator -translation_of: Web/CSS/CSS_Background_and_Borders/Border-radius_generator -original_slug: Web/CSS/CSS_Background_and_Borders/圆角边框发生器 ---- -

    使用Border-radius generator生成 CSS3 {{cssxref("border-radius")}} 样式

    - - - -

    {{ EmbedLiveSample('border-radius-generator', '100%', '800px', '') }}

    - -

     

    diff --git a/files/zh-cn/web/css/css_background_and_borders/box-shadow_generator/index.html b/files/zh-cn/web/css/css_background_and_borders/box-shadow_generator/index.html deleted file mode 100644 index 79b9abe9e2..0000000000 --- a/files/zh-cn/web/css/css_background_and_borders/box-shadow_generator/index.html +++ /dev/null @@ -1,2881 +0,0 @@ ---- -title: Box-shadow generator -slug: Web/CSS/CSS_Background_and_Borders/Box-shadow_generator -translation_of: Web/CSS/CSS_Background_and_Borders/Box-shadow_generator -original_slug: Web/CSS/CSS_Box_Model/Box-shadow_generator ---- -

    这个可视化工具可以帮助你生成一个元素的CSS{{cssxref("box-shadow")}}相关代码,添加box shadow效果到你的CSS对象上。

    - - - -
    {{ EmbedLiveSample('box-shadow_generator', '100%', '1100px', '') }}
    - -

    Related Tool: Box Shadow CSS Generator

    diff --git a/files/zh-cn/web/css/css_backgrounds_and_borders/border-image_generator/index.html b/files/zh-cn/web/css/css_backgrounds_and_borders/border-image_generator/index.html new file mode 100644 index 0000000000..870e84f663 --- /dev/null +++ b/files/zh-cn/web/css/css_backgrounds_and_borders/border-image_generator/index.html @@ -0,0 +1,2629 @@ +--- +title: Border-image 生成器 +slug: Web/CSS/CSS_Backgrounds_and_Borders/Border-image_generator +tags: + - CSS + - Tools +translation_of: Web/CSS/CSS_Background_and_Borders/Border-image_generator +original_slug: Web/CSS/CSS_Background_and_Borders/Border-image_generator +--- +

    这个工具用于生成 CSS3 {{cssxref("border-image")}} 的值.

    + + + +

    {{ EmbedLiveSample('Border_Image_Generator', '100%', '1270px') }}

    + +

     

    diff --git a/files/zh-cn/web/css/css_backgrounds_and_borders/border-radius_generator/index.html b/files/zh-cn/web/css/css_backgrounds_and_borders/border-radius_generator/index.html new file mode 100644 index 0000000000..4781337bc3 --- /dev/null +++ b/files/zh-cn/web/css/css_backgrounds_and_borders/border-radius_generator/index.html @@ -0,0 +1,1600 @@ +--- +title: 圆角边框生成器 +slug: Web/CSS/CSS_Backgrounds_and_Borders/Border-radius_generator +translation_of: Web/CSS/CSS_Background_and_Borders/Border-radius_generator +original_slug: Web/CSS/CSS_Background_and_Borders/Border-radius_generator +--- +

    使用Border-radius generator生成 CSS3 {{cssxref("border-radius")}} 样式

    + + + +

    {{ EmbedLiveSample('border-radius-generator', '100%', '800px', '') }}

    + +

     

    diff --git a/files/zh-cn/web/css/css_backgrounds_and_borders/box-shadow_generator/index.html b/files/zh-cn/web/css/css_backgrounds_and_borders/box-shadow_generator/index.html new file mode 100644 index 0000000000..2847389264 --- /dev/null +++ b/files/zh-cn/web/css/css_backgrounds_and_borders/box-shadow_generator/index.html @@ -0,0 +1,2881 @@ +--- +title: Box-shadow generator +slug: Web/CSS/CSS_Backgrounds_and_Borders/Box-shadow_generator +translation_of: Web/CSS/CSS_Background_and_Borders/Box-shadow_generator +original_slug: Web/CSS/CSS_Background_and_Borders/Box-shadow_generator +--- +

    这个可视化工具可以帮助你生成一个元素的CSS{{cssxref("box-shadow")}}相关代码,添加box shadow效果到你的CSS对象上。

    + + + +
    {{ EmbedLiveSample('box-shadow_generator', '100%', '1100px', '') }}
    + +

    Related Tool: Box Shadow CSS Generator

    diff --git a/files/zh-cn/web/guide/houdini/index.html b/files/zh-cn/web/guide/houdini/index.html new file mode 100644 index 0000000000..2c81ff1ed3 --- /dev/null +++ b/files/zh-cn/web/guide/houdini/index.html @@ -0,0 +1,91 @@ +--- +title: CSS Houdini +slug: Web/Guide/Houdini +tags: + - API + - CSS + - Houdini + - Web +translation_of: Web/Houdini +original_slug: Web/Houdini +--- +

    Houdini是一组底层API,它们公开了CSS引擎的各个部分,从而使开发人员能够通过加入浏览器渲染引擎的样式和布局过程来扩展CSS。 Houdini是一组API,它们使开发人员可以直接访问CSS 对象模型 (CSSOM),使开发人员可以编写浏览器可以解析为CSS的代码,从而创建新的CSS功能,而无需等待它们在浏览器中本地实现。

    + +

    Houdini 的优点

    + +

    当样式改变时Houdini相比JavaScript.style 的方式能够能够更快的解析。  浏览器在应用脚本中发现的任何样式更新之前,会对CSSOM进行解析--包括布局、绘制和合成过程。此外,对于JavaScript样式更新,布局、绘制和复合过程也会重复进行。Houdini代码不会等待第一个渲染周期完成。相反,它被包含在第一个周期中--创建可渲染的、可理解的样式。Houdini为在JavaScript中使用CSS值提供了一个基于对象的API。

    + +

    Houdini 的 CSS Typed OM 是一个包含类型和方法的 CSS 对象、并且暴露出了作为 JavaScript 对象的值。比起先前基于字符串的,对  HTMLElement.style 进行操作的方案,对 JavaScript 对象进行操作更符合直觉。每个元素和样式表规则都拥有一个样式对应表,该对应表可以通过  StylePropertyMap 来获得。

    + +

    一个 CSS Houdini 的特性就是  Worklet。在它的帮助下,你可以通过引入一行 JavaScript 代码来引入配置化的组件,从而创建模块式的 CSS。不依赖任何前置处理器、后置处理器或者 JavaScript 框架。

    + +
    <script>
    +  CSS.paintWorklet.addModule('csscomponent.js');
    +</script>
    +
    + +

    以上添加进的模块包含一个  registerPaint()函数,这个模块是完全通过可配置的 worklets 来注册的。

    + +

    这个 CSS  paint()  函数的参数包括 worklet 的名字,以及其他可选的参数。worklet 同时能够访问元素的自定义属性:它们不需要作为函数参数传递。

    + +
    li {
    +	background-image: paint(myComponent, stroke, 10px);
    +    --hilights: blue;
    +    --lowlights: green;
    +}
    + +
    +

    提醒: 能力越大,责任越大!在 Houdini 的帮助下你能够在 css 中实现你自己的布局、栅格、或者区域特性,但是这么做并不是最佳实践。CSS 工作组已经做了许多努力来确保 CSS 中的每一项特性都能正常运行,覆盖各种边界情况,同时考虑到了安全、隐私,以及可用性方面的表现。如果你要深入使用 Houdini,确保你也把以上这些事项考虑在内!并且先从小处开始,再把你的自定义 Houdini 推向一个富有雄心的项目。

    +
    + +

    Houdini APIs

    + +

    在下面,你能够找到一些链接。这些链接指向 Houdini 范围下的 API 的主列表页面,同时链接到一些指导页来帮助你,如果你需要指导如何去使用这些API。

    + + + +
    +
    CSS Parser API
    +
    这是一个更直接地暴露出 CSS 解析器的 API,能够把任意 CSS 类语言解析成为一种中间类型。
    +
    目前还没有该 API 的教程或参考。
    +
    CSS Properties and Values API 
    +
    定义了一个用来注册新的 CSS 属性的 API。通过该 API 注册的属性必须用一种特定的解析语法书写,以定义其类型、继承行为以及初始值。
    +
    + CSS Properties and Values API reference
    + CSS Properties and Values API guide
    +
    +
    CSS Typed OM
    +
    该 API 将 CSSOM 字符串转化为有类型意义的 JavaScript。这将对后续的一个重要的表现打下基础。CSS Typed OM 将 CSS 值以类型化处理的 JavaScript 对象的形式暴露出来,以使其表现可以被控制。
    +
    + CSS Typed OM reference
    + CSS Typed OM guide
    +
    CSS Layout API 
    +
    +

    作为一个被设计来提升 CSS 扩展性的 API,该 API 能够让开发者去书写他们自己的布局算法,比如 masonry 或者 line snapping。该 API 目前还没有原生支持。

    + +

    目前还没有该 API 的教程或参考。

    +
    +
    CSS Painting API
    +
    +

    作为一个被设计来提升 CSS 扩展性的 API,该 API 允许开发者通过 paint() 方法书写 JavaScript 函数,以控制绘制元素的背景、边框或者内容区域。
    +
    + CSS Painting API reference
    + CSS Painting API guide

    +
    +
    Worklets 
    +
    +

    该 API 允许脚本独立于 JavaScript 执行环境,运行在渲染流程的各个阶段。Worklets 在概念上很接近于 Web Workers ,它由渲染引擎调用,并扩展了渲染引擎。
    +
    + Worklets reference

    +
    +
    + +

    其他

    + +

    以下主题你可能会感兴趣,它们可能在你使用 Houdini API 的时候起一些有趣的作用。

    + +
    +
    Composite Scrolling and Animation 
    +
    diff --git a/files/zh-cn/web/houdini/index.html b/files/zh-cn/web/houdini/index.html deleted file mode 100644 index 68259ebd34..0000000000 --- a/files/zh-cn/web/houdini/index.html +++ /dev/null @@ -1,90 +0,0 @@ ---- -title: CSS Houdini -slug: Web/Houdini -tags: - - API - - CSS - - Houdini - - Web -translation_of: Web/Houdini ---- -

    Houdini是一组底层API,它们公开了CSS引擎的各个部分,从而使开发人员能够通过加入浏览器渲染引擎的样式和布局过程来扩展CSS。 Houdini是一组API,它们使开发人员可以直接访问CSS 对象模型 (CSSOM),使开发人员可以编写浏览器可以解析为CSS的代码,从而创建新的CSS功能,而无需等待它们在浏览器中本地实现。

    - -

    Houdini 的优点

    - -

    当样式改变时Houdini相比JavaScript.style 的方式能够能够更快的解析。  浏览器在应用脚本中发现的任何样式更新之前,会对CSSOM进行解析--包括布局、绘制和合成过程。此外,对于JavaScript样式更新,布局、绘制和复合过程也会重复进行。Houdini代码不会等待第一个渲染周期完成。相反,它被包含在第一个周期中--创建可渲染的、可理解的样式。Houdini为在JavaScript中使用CSS值提供了一个基于对象的API。

    - -

    Houdini 的 CSS Typed OM 是一个包含类型和方法的 CSS 对象、并且暴露出了作为 JavaScript 对象的值。比起先前基于字符串的,对  HTMLElement.style 进行操作的方案,对 JavaScript 对象进行操作更符合直觉。每个元素和样式表规则都拥有一个样式对应表,该对应表可以通过  StylePropertyMap 来获得。

    - -

    一个 CSS Houdini 的特性就是  Worklet。在它的帮助下,你可以通过引入一行 JavaScript 代码来引入配置化的组件,从而创建模块式的 CSS。不依赖任何前置处理器、后置处理器或者 JavaScript 框架。

    - -
    <script>
    -  CSS.paintWorklet.addModule('csscomponent.js');
    -</script>
    -
    - -

    以上添加进的模块包含一个  registerPaint()函数,这个模块是完全通过可配置的 worklets 来注册的。

    - -

    这个 CSS  paint()  函数的参数包括 worklet 的名字,以及其他可选的参数。worklet 同时能够访问元素的自定义属性:它们不需要作为函数参数传递。

    - -
    li {
    -	background-image: paint(myComponent, stroke, 10px);
    -    --hilights: blue;
    -    --lowlights: green;
    -}
    - -
    -

    提醒: 能力越大,责任越大!在 Houdini 的帮助下你能够在 css 中实现你自己的布局、栅格、或者区域特性,但是这么做并不是最佳实践。CSS 工作组已经做了许多努力来确保 CSS 中的每一项特性都能正常运行,覆盖各种边界情况,同时考虑到了安全、隐私,以及可用性方面的表现。如果你要深入使用 Houdini,确保你也把以上这些事项考虑在内!并且先从小处开始,再把你的自定义 Houdini 推向一个富有雄心的项目。

    -
    - -

    Houdini APIs

    - -

    在下面,你能够找到一些链接。这些链接指向 Houdini 范围下的 API 的主列表页面,同时链接到一些指导页来帮助你,如果你需要指导如何去使用这些API。

    - - - -
    -
    CSS Parser API
    -
    这是一个更直接地暴露出 CSS 解析器的 API,能够把任意 CSS 类语言解析成为一种中间类型。
    -
    目前还没有该 API 的教程或参考。
    -
    CSS Properties and Values API 
    -
    定义了一个用来注册新的 CSS 属性的 API。通过该 API 注册的属性必须用一种特定的解析语法书写,以定义其类型、继承行为以及初始值。
    -
    - CSS Properties and Values API reference
    - CSS Properties and Values API guide
    -
    -
    CSS Typed OM
    -
    该 API 将 CSSOM 字符串转化为有类型意义的 JavaScript。这将对后续的一个重要的表现打下基础。CSS Typed OM 将 CSS 值以类型化处理的 JavaScript 对象的形式暴露出来,以使其表现可以被控制。
    -
    - CSS Typed OM reference
    - CSS Typed OM guide
    -
    CSS Layout API 
    -
    -

    作为一个被设计来提升 CSS 扩展性的 API,该 API 能够让开发者去书写他们自己的布局算法,比如 masonry 或者 line snapping。该 API 目前还没有原生支持。

    - -

    目前还没有该 API 的教程或参考。

    -
    -
    CSS Painting API
    -
    -

    作为一个被设计来提升 CSS 扩展性的 API,该 API 允许开发者通过 paint() 方法书写 JavaScript 函数,以控制绘制元素的背景、边框或者内容区域。
    -
    - CSS Painting API reference
    - CSS Painting API guide

    -
    -
    Worklets 
    -
    -

    该 API 允许脚本独立于 JavaScript 执行环境,运行在渲染流程的各个阶段。Worklets 在概念上很接近于 Web Workers ,它由渲染引擎调用,并扩展了渲染引擎。
    -
    - Worklets reference

    -
    -
    - -

    其他

    - -

    以下主题你可能会感兴趣,它们可能在你使用 Houdini API 的时候起一些有趣的作用。

    - -
    -
    Composite Scrolling and Animation 
    -
    -- cgit v1.2.3-54-g00ecf From 7bde99e8c49a7e42809f96b01da0c96f0261f5f5 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Tue, 24 Aug 2021 13:13:19 +0900 Subject: orphaned/Web/Guide/HTML/HTML5/Constraint_validation を移動 (#2080) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 英語版の場所に合わせて移動 --- files/ja/_redirects.txt | 4 +- files/ja/_wikihistory.json | 14 +- .../html/html5/constraint_validation/index.html | 330 --------------------- .../guide/html/constraint_validation/index.html | 330 +++++++++++++++++++++ 4 files changed, 339 insertions(+), 339 deletions(-) delete mode 100644 files/ja/orphaned/web/guide/html/html5/constraint_validation/index.html create mode 100644 files/ja/web/guide/html/constraint_validation/index.html (limited to 'files/ja/web/guide') diff --git a/files/ja/_redirects.txt b/files/ja/_redirects.txt index 3f377fb2a2..eec5e5b9f7 100644 --- a/files/ja/_redirects.txt +++ b/files/ja/_redirects.txt @@ -3922,7 +3922,7 @@ /ja/docs/Web/Guide/HTML/Forms/Styling_HTML_forms /ja/docs/Learn/Forms/Styling_web_forms /ja/docs/Web/Guide/HTML/Forms/The_native_form_widgets /ja/docs/Learn/Forms/Basic_native_form_controls /ja/docs/Web/Guide/HTML/HTML5 /ja/docs/orphaned/Web/Guide/HTML/HTML5 -/ja/docs/Web/Guide/HTML/HTML5/Constraint_validation /ja/docs/orphaned/Web/Guide/HTML/HTML5/Constraint_validation +/ja/docs/Web/Guide/HTML/HTML5/Constraint_validation /ja/docs/Web/Guide/HTML/Constraint_validation /ja/docs/Web/Guide/HTML/HTML5/Forms_in_HTML5 /ja/docs/Learn/Forms /ja/docs/Web/Guide/HTML/HTML5/HTML5_Thematic_Classification /ja/docs/orphaned/Web/Guide/HTML/HTML5 /ja/docs/Web/Guide/HTML/HTML5/HTML5_element_list /ja/docs/Web/HTML/Element @@ -3988,7 +3988,7 @@ /ja/docs/Web/HTML/Forms/The_native_form_widgets /ja/docs/Learn/Forms/Basic_native_form_controls /ja/docs/Web/HTML/Forms_in_HTML /ja/docs/Learn/Forms/HTML5_input_types /ja/docs/Web/HTML/HTML5 /ja/docs/orphaned/Web/Guide/HTML/HTML5 -/ja/docs/Web/HTML/HTML5/Constraint_validation /ja/docs/orphaned/Web/Guide/HTML/HTML5/Constraint_validation +/ja/docs/Web/HTML/HTML5/Constraint_validation /ja/docs/Web/Guide/HTML/Constraint_validation /ja/docs/Web/HTML/HTML5/Forms_in_HTML5 /ja/docs/Learn/Forms/HTML5_input_types /ja/docs/Web/HTML/HTML5/HTML5_Thematic_Classification /ja/docs/orphaned/Web/Guide/HTML/HTML5 /ja/docs/Web/HTML/HTML5/HTML5_element_list /ja/docs/Web/HTML/Element diff --git a/files/ja/_wikihistory.json b/files/ja/_wikihistory.json index 7864628295..6b69f1f1ac 100644 --- a/files/ja/_wikihistory.json +++ b/files/ja/_wikihistory.json @@ -33603,6 +33603,13 @@ "Marsf" ] }, + "Web/Guide/HTML/Constraint_validation": { + "modified": "2020-10-16T13:41:03.752Z", + "contributors": [ + "mfuji09", + "Uemmra3" + ] + }, "Web/Guide/HTML/Content_categories": { "modified": "2020-10-18T10:43:23.129Z", "contributors": [ @@ -49667,13 +49674,6 @@ "Marsf" ] }, - "orphaned/Web/Guide/HTML/HTML5/Constraint_validation": { - "modified": "2020-10-16T13:41:03.752Z", - "contributors": [ - "mfuji09", - "Uemmra3" - ] - }, "orphaned/Web/Guide/HTML/HTML5/Introduction_to_HTML5": { "modified": "2020-01-19T16:30:15.396Z", "contributors": [ diff --git a/files/ja/orphaned/web/guide/html/html5/constraint_validation/index.html b/files/ja/orphaned/web/guide/html/html5/constraint_validation/index.html deleted file mode 100644 index a392493e50..0000000000 --- a/files/ja/orphaned/web/guide/html/html5/constraint_validation/index.html +++ /dev/null @@ -1,330 +0,0 @@ ---- -title: 制約検証 -slug: orphaned/Web/Guide/HTML/HTML5/Constraint_validation -tags: - - CSS - - Guide - - HTML5 - - NeedsContent - - Selectors -translation_of: Web/Guide/HTML/HTML5/Constraint_validation -original_slug: Web/Guide/HTML/HTML5/Constraint_validation ---- -

    ウェブフォームの作成は常に複雑な作業でした。フォーム自体をマークアップすること自体は簡単ですが、それぞれの入力欄が妥当で一貫しているかどうかをチェックすることはもっと難しく、問題をユーザーに伝えることは頭痛がするかもしれません。HTML5 では、フォームに新しい仕組みが導入されました。{{ HTMLElement("input") }} 要素に意味を持つ新しい型と、クライアント側でフォームの内容をチェックする作業を簡単にする制約検証が追加されました。基本的な、よくある制約は、JavaScript を必要とせずに、新しい属性を設定することでチェックできます。もっと複雑な制約は制約検証 API を使用して検査することができます。

    - -

    これらの概念の基本的な入門 (サンプル付き) は、フォーム検証チュートリアルをご覧ください。

    - -
    メモ: HTML5 の制約検証は、サーバー側での検証の必要性をなくす訳ではありません。不正なフォームのリクエストは減少することが期待されるものの、不正なリクエストはまだ互換性のないブラウザー(例えば、HTML5 や JavaScript に対応していないブラウザー)から送られたり、ウェブアプリケーションをだまそうとする悪意のある人から送られたりする可能性があります。従って、HTML4 の時と同様、クライアント側で行われている検証と一貫性のある方法で、サーバー側でも入力の制約を検証する必要があります。
    - -

    組込みの基本的な制約

    - -

    HTML5 では、基本的な制約は 2通りの方法で定義されます。

    - -
      -
    • {{ HTMLElement("input") }} 要素の {{ htmlattrxref("type", "input") }} 属性に意味的に最も適切な値を選択することで、例えば email を選択することで、値が妥当なメールアドレスであるかどうかをチェックする制約が自動的に作成されます。
    • -
    • 検証関連属性を設定することで、基本的な制約を簡単な方法で、JavaScript の必要なく記述できます。
    • -
    - -

    意味を持つ入力型

    - -

    {{ htmlattrxref("type", "input") }} 属性の組込み制約は次の通りです。

    - - - - - - - - - - - - - - - - - - - - - -
    入力型制約の説明関連付けられた違反
    <input type="URL">値は絶対 URL であり、URL Living Standard で定義された通りでなければなりません。TypeMismatch 制約違反
    <input type="email">値は統語的に妥当なメールアドレス、ふつうは username@hostname.tld の書式でなければなりません。TypeMismatch 制約違反
    - -

    これらの入力型のどちらでも、{{ htmlattrxref("multiple", "input") }} 属性が設定されていたら、この入力欄にカンマ区切りのリストで複数の値を設定することができます。これらの中でここで書かれた条件に満足しないものがある場合、Type mismatch 制約違反が発生します。

    - -

    なお、ほとんどの入力型には組込み制約がありません。制約検証によって防ぐことができたり、既定で不正な値を妥当な値に変換する無害化アルゴリズムがあったりするためです。

    - - - -

    上記で述べた type 属性に加えて、下記の要素が基本的な制約を記述するのに使われます。

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    属性属性をサポートする入力タイプとりうる値制約の説明関連する違反
    patterntext, search, url, tel, email, passwordJavaScript 正規表現 (ECMAScript 5 global, ignoreCasemultiline フラグが無効でコンパイルされたもの)値はパターンに一致する必要があります。patternMismatch 制約違反
    minrange, number有効な数値値以上であること。rangeUnderflow 制約違反
    date, month, week有効な日付
    datetime, datetime-local, time有効な日付と時刻
    maxrange, number有効な数値値以下であること。rangeOverflow 制約違反
    date, month, week有効な日付
    datetime, datetime-local, time有効な日付と時刻
    requiredtext, search, url, tel, email, password, date, datetime, datetime-local, month, week, time, number, checkbox, radio, file; {{ HTMLElement("select") }} と {{ HTMLElement("textarea") }} 要素にも。none Boolean 属性のため: 存在すれば true, 存在しなければ false値は必須 (セットされた場合)。valueMissing 制約違反
    stepdate日の整数値step がリテラル値 any にセットされていない場合、値は min + step の整数倍stepMismatch 制約違反
    month月の整数値
    week週の整数値
    datetime, datetime-local, time秒の整数値
    range, number整数値
    minlengthtext, search, url, tel, email, password; と {{ HTMLElement("textarea") }} 要素整数長文字列数 (code points) は、空でない場合は属性値より少なくならない。{{ HTMLElement("textarea") }}では改行はすべて 1 つの文字に正規化される (CRLF の組と対象的に)。tooShort 制約違反
    maxlengthtext, search, url, tel, email, password; と {{ HTMLElement("textarea") }} 要素整数長文字列数 (code points) は属性値を超えない。tooLong 制約違反
    - -

    制約検証プロセス

    - -

    Constraint validation is done through the Constraint Validation API either on a single form element or at the form level, on the {{ HTMLElement("form") }} element itself. The constraint validation is done in the following ways:

    - -
      -
    • By a call to the checkValidity() or reportValidity() method of a form-associated DOM interface, (HTMLInputElement, HTMLSelectElement, HTMLButtonElement, HTMLOutputElement or HTMLTextAreaElement), which evaluates the constraints only on this element, allowing a script to get this information. The checkValidity() method returns a Boolean indicating whether the element's value passes its constraints. (This is typically done by the user-agent when determining which of the CSS pseudo-classes, {{ Cssxref(":valid") }} or {{ Cssxref(":invalid") }}, applies.) In contrast, the reportValidity() method reports any constraint failures to the user.
    • -
    • By a call to the checkValidity() or reportValidity() method on the HTMLFormElement interface.
    • -
    • By submitting the form itself.
    • -
    - -

    Calling checkValidity() is called statically validating the constraints, while calling reportValidity() or submitting the form is called interactively validating the constraints.

    - -
    Note: - -
      -
    • If the {{ htmlattrxref("novalidate", "form") }} attribute is set on the {{ HTMLElement("form") }} element, interactive validation of the constraints doesn't happen.
    • -
    • Calling the submit() method on the HTMLFormElement interface doesn't trigger a constraint validation. In other words, this method sends the form data to the server even if doesn't satisfy the constraints. Call the click() method on a submit button instead.
    • -
    -
    - -

    HTML5 制約 API を使用した複雑な制約

    - -

    Using JavaScript and the Constraint API, it is possible to implement more complex constraints, 例えば、constraints combining several fields, or constraints involving complex calculations.

    - -

    Basically, the idea is to trigger JavaScript on some form field event (like onchange) to calculate whether the constraint is violated, and then to use the method field.setCustomValidity() to set the result of the validation: an empty string means the constraint is satisfied, and any other string means there is an error and this string is the error message to display to the user.

    - -

    Constraint combining several fields: Postal code validation

    - -

    The postal code format varies from one country to another. Not only do most countries allow an optional prefix with the country code (like D- in Germany, F- in France or Switzerland), but some countries have postal codes with only a fixed number of digits; others, like the UK, have more complex structures, allowing letters at some specific positions.

    - -
    -

    注: This is not a comprehensive postal code validation library, but rather a demonstration of the key concepts.

    -
    - -

    As an example, we will add a script checking the constraint validation for this simple form:

    - -
    <form>
    -    <label for="ZIP">ZIP : </label>
    -    <input type="text" id="ZIP">
    -    <label for="Country">Country : </label>
    -    <select id="Country">
    -      <option value="ch">Switzerland</option>
    -      <option value="fr">France</option>
    -      <option value="de">Germany</option>
    -      <option value="nl">The Netherlands</option>
    -    </select>
    -    <input type="submit" value="Validate">
    -</form>
    - -

    This displays the following form:

    - -

    {{EmbedLiveSample("Constraint_combining_several_fields_Postal_code_validation")}}

    - -

    First, we write a function checking the constraint itself:

    - -
    function checkZIP() {
    -  // For each country, defines the pattern that the ZIP has to follow
    -  var constraints = {
    -    ch : [ '^(CH-)?\\d{4}$', "Switzerland ZIPs must have exactly 4 digits: e.g. CH-1950 or 1950" ],
    -    fr : [ '^(F-)?\\d{5}$' , "France ZIPs must have exactly 5 digits: e.g. F-75012 or 75012" ],
    -    de : [ '^(D-)?\\d{5}$' , "Germany ZIPs must have exactly 5 digits: e.g. D-12345 or 12345" ],
    -    nl : [ '^(NL-)?\\d{4}\\s*([A-RT-Z][A-Z]|S[BCE-RT-Z])$',
    -                    "Nederland ZIPs must have exactly 4 digits, followed by 2 letters except SA, SD and SS" ]
    -  };
    -
    -  // Read the country id
    -  var country = document.getElementById("Country").value;
    -
    -  // Get the NPA field
    -  var ZIPField = document.getElementById("ZIP");
    -
    -  // Build the constraint checker
    -  var constraint = new RegExp(constraints[country][0], "");
    -    console.log(constraint);
    -
    -
    -  // Check it!
    -  if (constraint.test(ZIPField.value)) {
    -    // The ZIP follows the constraint, we use the ConstraintAPI to tell it
    -    ZIPField.setCustomValidity("");
    -  }
    -  else {
    -    // The ZIP doesn't follow the constraint, we use the ConstraintAPI to
    -    // give a message about the format required for this country
    -    ZIPField.setCustomValidity(constraints[country][1]);
    -  }
    -}
    -
    - -

    Then we link it to the onchange event for the {{ HTMLElement("select") }} and the oninput event for the {{ HTMLElement("input") }}:

    - -
    window.onload = function () {
    -    document.getElementById("Country").onchange = checkZIP;
    -    document.getElementById("ZIP").oninput = checkZIP;
    -}
    - -

    You can see a live example of the postal code validation.

    - -

    アップロード前のファイルサイズの制限

    - -

    Another common constraint is to limit the size of a file to be uploaded. Checking this on the client side before the file is transmitted to the server requires combining the Constraint Validation API, and especially the field.setCustomValidity() method, with another JavaScript API, here the File API.

    - -

    Here is the HTML part:

    - -
    <label for="FS">Select a file smaller than 75 kB : </label>
    -<input type="file" id="FS">
    - -

    This displays:

    - -

    {{EmbedLiveSample("Limiting_the_size_of_a_file_before_its_upload")}}

    - -

    The JavaScript reads the file selected, uses the File.size() method to get its size, compares it to the (hard coded) limit, and calls the Constraint API to inform the browser if there is a violation:

    - -
    function checkFileSize() {
    -  var FS = document.getElementById("FS");
    -  var files = FS.files;
    -
    -  // If there is (at least) one file selected
    -  if (files.length > 0) {
    -     if (files[0].size > 75 * 1024) { // Check the constraint
    -       FS.setCustomValidity("The selected file must not be larger than 75 kB");
    -       return;
    -     }
    -  }
    -  // No custom constraint violation
    -  FS.setCustomValidity("");
    -}
    - -

    Finally we hook the method with the correct event:

    - -
    window.onload = function () {
    -  document.getElementById("FS").onchange = checkFileSize;
    -}
    - -

    You can see a live example of the File size constraint validation.

    - -

    制約検証における表示の整形

    - -

    Apart from setting constraints, web developers want to control what messages are displayed to the users and how they are styled.

    - -

    要素の外見の制御

    - -

    The look of elements can be controlled via CSS pseudo-classes.

    - -

    CSS の :required および :optional 疑似クラス

    - -

    The {{cssxref(':required')}} and {{cssxref(':optional')}} pseudo-classes allow writing selectors that match form elements that have the {{ htmlattrxref("required") }} attribute, or that don't have it.

    - -

    :placeholder-shown CSS pseudo-class

    - -

    See {{cssxref(':placeholder-shown')}}

    - -

    CSS の :valid :invalid 疑似クラス

    - -

    The {{cssxref(':valid')}} and {{cssxref(':invalid')}} pseudo-classes are used to represent <input> elements whose content validates and fails to validate respectively according to the input's type setting. These classes allow the user to style valid or invalid form elements to make it easier to identify elements that are either formatted correctly or incorrectly.

    - -

    制約違反の文字列の制御

    - -

    The following items can help with controlling the text of a constraint violation:

    - -
      -
    • element.setCustomValidity(message) method on the following elements: - -
        -
      • {{HTMLElement("fieldset")}}. Note: Setting a custom validity message on fieldset elements will not prevent form submission in most browsers.
      • -
      • {{HTMLElement("input")}}
      • -
      • {{HTMLElement("output")}}
      • -
      • {{HTMLElement("select")}}
      • -
      • Submit buttons (created with either a {{HTMLElement("button")}} element with the submit type, or an input element with the {{HTMLElement("input/submit", "submit")}} type. Other types of buttons do not participate in constraint validation.
      • -
      • {{HTMLElement("textarea")}}
      • -
      -
    • -
    • The ValidityState interface describes the object returned by the validity property of the element types listed above. It represents various ways that an entered value can be invalid. Together, they help explain why an element's value fails to validate, if it's not valid.
    • -
    diff --git a/files/ja/web/guide/html/constraint_validation/index.html b/files/ja/web/guide/html/constraint_validation/index.html new file mode 100644 index 0000000000..5af2e0fe58 --- /dev/null +++ b/files/ja/web/guide/html/constraint_validation/index.html @@ -0,0 +1,330 @@ +--- +title: 制約検証 +slug: Web/Guide/HTML/Constraint_validation +tags: + - CSS + - Guide + - HTML5 + - NeedsContent + - Selectors +translation_of: Web/Guide/HTML/Constraint_validation +original_slug: Web/Guide/HTML/HTML5/Constraint_validation +--- +

    ウェブフォームの作成は常に複雑な作業でした。フォーム自体をマークアップすること自体は簡単ですが、それぞれの入力欄が妥当で一貫しているかどうかをチェックすることはもっと難しく、問題をユーザーに伝えることは頭痛がするかもしれません。HTML5 では、フォームに新しい仕組みが導入されました。{{ HTMLElement("input") }} 要素に意味を持つ新しい型と、クライアント側でフォームの内容をチェックする作業を簡単にする制約検証が追加されました。基本的な、よくある制約は、JavaScript を必要とせずに、新しい属性を設定することでチェックできます。もっと複雑な制約は制約検証 API を使用して検査することができます。

    + +

    これらの概念の基本的な入門 (サンプル付き) は、フォーム検証チュートリアルをご覧ください。

    + +
    メモ: HTML5 の制約検証は、サーバー側での検証の必要性をなくす訳ではありません。不正なフォームのリクエストは減少することが期待されるものの、不正なリクエストはまだ互換性のないブラウザー(例えば、HTML5 や JavaScript に対応していないブラウザー)から送られたり、ウェブアプリケーションをだまそうとする悪意のある人から送られたりする可能性があります。従って、HTML4 の時と同様、クライアント側で行われている検証と一貫性のある方法で、サーバー側でも入力の制約を検証する必要があります。
    + +

    組込みの基本的な制約

    + +

    HTML5 では、基本的な制約は 2通りの方法で定義されます。

    + +
      +
    • {{ HTMLElement("input") }} 要素の {{ htmlattrxref("type", "input") }} 属性に意味的に最も適切な値を選択することで、例えば email を選択することで、値が妥当なメールアドレスであるかどうかをチェックする制約が自動的に作成されます。
    • +
    • 検証関連属性を設定することで、基本的な制約を簡単な方法で、JavaScript の必要なく記述できます。
    • +
    + +

    意味を持つ入力型

    + +

    {{ htmlattrxref("type", "input") }} 属性の組込み制約は次の通りです。

    + + + + + + + + + + + + + + + + + + + + + +
    入力型制約の説明関連付けられた違反
    <input type="URL">値は絶対 URL であり、URL Living Standard で定義された通りでなければなりません。TypeMismatch 制約違反
    <input type="email">値は統語的に妥当なメールアドレス、ふつうは username@hostname.tld の書式でなければなりません。TypeMismatch 制約違反
    + +

    これらの入力型のどちらでも、{{ htmlattrxref("multiple", "input") }} 属性が設定されていたら、この入力欄にカンマ区切りのリストで複数の値を設定することができます。これらの中でここで書かれた条件に満足しないものがある場合、Type mismatch 制約違反が発生します。

    + +

    なお、ほとんどの入力型には組込み制約がありません。制約検証によって防ぐことができたり、既定で不正な値を妥当な値に変換する無害化アルゴリズムがあったりするためです。

    + + + +

    上記で述べた type 属性に加えて、下記の要素が基本的な制約を記述するのに使われます。

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    属性属性をサポートする入力タイプとりうる値制約の説明関連する違反
    patterntext, search, url, tel, email, passwordJavaScript 正規表現 (ECMAScript 5 global, ignoreCasemultiline フラグが無効でコンパイルされたもの)値はパターンに一致する必要があります。patternMismatch 制約違反
    minrange, number有効な数値値以上であること。rangeUnderflow 制約違反
    date, month, week有効な日付
    datetime, datetime-local, time有効な日付と時刻
    maxrange, number有効な数値値以下であること。rangeOverflow 制約違反
    date, month, week有効な日付
    datetime, datetime-local, time有効な日付と時刻
    requiredtext, search, url, tel, email, password, date, datetime, datetime-local, month, week, time, number, checkbox, radio, file; {{ HTMLElement("select") }} と {{ HTMLElement("textarea") }} 要素にも。none Boolean 属性のため: 存在すれば true, 存在しなければ false値は必須 (セットされた場合)。valueMissing 制約違反
    stepdate日の整数値step がリテラル値 any にセットされていない場合、値は min + step の整数倍stepMismatch 制約違反
    month月の整数値
    week週の整数値
    datetime, datetime-local, time秒の整数値
    range, number整数値
    minlengthtext, search, url, tel, email, password; と {{ HTMLElement("textarea") }} 要素整数長文字列数 (code points) は、空でない場合は属性値より少なくならない。{{ HTMLElement("textarea") }}では改行はすべて 1 つの文字に正規化される (CRLF の組と対象的に)。tooShort 制約違反
    maxlengthtext, search, url, tel, email, password; と {{ HTMLElement("textarea") }} 要素整数長文字列数 (code points) は属性値を超えない。tooLong 制約違反
    + +

    制約検証プロセス

    + +

    Constraint validation is done through the Constraint Validation API either on a single form element or at the form level, on the {{ HTMLElement("form") }} element itself. The constraint validation is done in the following ways:

    + +
      +
    • By a call to the checkValidity() or reportValidity() method of a form-associated DOM interface, (HTMLInputElement, HTMLSelectElement, HTMLButtonElement, HTMLOutputElement or HTMLTextAreaElement), which evaluates the constraints only on this element, allowing a script to get this information. The checkValidity() method returns a Boolean indicating whether the element's value passes its constraints. (This is typically done by the user-agent when determining which of the CSS pseudo-classes, {{ Cssxref(":valid") }} or {{ Cssxref(":invalid") }}, applies.) In contrast, the reportValidity() method reports any constraint failures to the user.
    • +
    • By a call to the checkValidity() or reportValidity() method on the HTMLFormElement interface.
    • +
    • By submitting the form itself.
    • +
    + +

    Calling checkValidity() is called statically validating the constraints, while calling reportValidity() or submitting the form is called interactively validating the constraints.

    + +
    Note: + +
      +
    • If the {{ htmlattrxref("novalidate", "form") }} attribute is set on the {{ HTMLElement("form") }} element, interactive validation of the constraints doesn't happen.
    • +
    • Calling the submit() method on the HTMLFormElement interface doesn't trigger a constraint validation. In other words, this method sends the form data to the server even if doesn't satisfy the constraints. Call the click() method on a submit button instead.
    • +
    +
    + +

    HTML5 制約 API を使用した複雑な制約

    + +

    Using JavaScript and the Constraint API, it is possible to implement more complex constraints, 例えば、constraints combining several fields, or constraints involving complex calculations.

    + +

    Basically, the idea is to trigger JavaScript on some form field event (like onchange) to calculate whether the constraint is violated, and then to use the method field.setCustomValidity() to set the result of the validation: an empty string means the constraint is satisfied, and any other string means there is an error and this string is the error message to display to the user.

    + +

    Constraint combining several fields: Postal code validation

    + +

    The postal code format varies from one country to another. Not only do most countries allow an optional prefix with the country code (like D- in Germany, F- in France or Switzerland), but some countries have postal codes with only a fixed number of digits; others, like the UK, have more complex structures, allowing letters at some specific positions.

    + +
    +

    注: This is not a comprehensive postal code validation library, but rather a demonstration of the key concepts.

    +
    + +

    As an example, we will add a script checking the constraint validation for this simple form:

    + +
    <form>
    +    <label for="ZIP">ZIP : </label>
    +    <input type="text" id="ZIP">
    +    <label for="Country">Country : </label>
    +    <select id="Country">
    +      <option value="ch">Switzerland</option>
    +      <option value="fr">France</option>
    +      <option value="de">Germany</option>
    +      <option value="nl">The Netherlands</option>
    +    </select>
    +    <input type="submit" value="Validate">
    +</form>
    + +

    This displays the following form:

    + +

    {{EmbedLiveSample("Constraint_combining_several_fields_Postal_code_validation")}}

    + +

    First, we write a function checking the constraint itself:

    + +
    function checkZIP() {
    +  // For each country, defines the pattern that the ZIP has to follow
    +  var constraints = {
    +    ch : [ '^(CH-)?\\d{4}$', "Switzerland ZIPs must have exactly 4 digits: e.g. CH-1950 or 1950" ],
    +    fr : [ '^(F-)?\\d{5}$' , "France ZIPs must have exactly 5 digits: e.g. F-75012 or 75012" ],
    +    de : [ '^(D-)?\\d{5}$' , "Germany ZIPs must have exactly 5 digits: e.g. D-12345 or 12345" ],
    +    nl : [ '^(NL-)?\\d{4}\\s*([A-RT-Z][A-Z]|S[BCE-RT-Z])$',
    +                    "Nederland ZIPs must have exactly 4 digits, followed by 2 letters except SA, SD and SS" ]
    +  };
    +
    +  // Read the country id
    +  var country = document.getElementById("Country").value;
    +
    +  // Get the NPA field
    +  var ZIPField = document.getElementById("ZIP");
    +
    +  // Build the constraint checker
    +  var constraint = new RegExp(constraints[country][0], "");
    +    console.log(constraint);
    +
    +
    +  // Check it!
    +  if (constraint.test(ZIPField.value)) {
    +    // The ZIP follows the constraint, we use the ConstraintAPI to tell it
    +    ZIPField.setCustomValidity("");
    +  }
    +  else {
    +    // The ZIP doesn't follow the constraint, we use the ConstraintAPI to
    +    // give a message about the format required for this country
    +    ZIPField.setCustomValidity(constraints[country][1]);
    +  }
    +}
    +
    + +

    Then we link it to the onchange event for the {{ HTMLElement("select") }} and the oninput event for the {{ HTMLElement("input") }}:

    + +
    window.onload = function () {
    +    document.getElementById("Country").onchange = checkZIP;
    +    document.getElementById("ZIP").oninput = checkZIP;
    +}
    + +

    You can see a live example of the postal code validation.

    + +

    アップロード前のファイルサイズの制限

    + +

    Another common constraint is to limit the size of a file to be uploaded. Checking this on the client side before the file is transmitted to the server requires combining the Constraint Validation API, and especially the field.setCustomValidity() method, with another JavaScript API, here the File API.

    + +

    Here is the HTML part:

    + +
    <label for="FS">Select a file smaller than 75 kB : </label>
    +<input type="file" id="FS">
    + +

    This displays:

    + +

    {{EmbedLiveSample("Limiting_the_size_of_a_file_before_its_upload")}}

    + +

    The JavaScript reads the file selected, uses the File.size() method to get its size, compares it to the (hard coded) limit, and calls the Constraint API to inform the browser if there is a violation:

    + +
    function checkFileSize() {
    +  var FS = document.getElementById("FS");
    +  var files = FS.files;
    +
    +  // If there is (at least) one file selected
    +  if (files.length > 0) {
    +     if (files[0].size > 75 * 1024) { // Check the constraint
    +       FS.setCustomValidity("The selected file must not be larger than 75 kB");
    +       return;
    +     }
    +  }
    +  // No custom constraint violation
    +  FS.setCustomValidity("");
    +}
    + +

    Finally we hook the method with the correct event:

    + +
    window.onload = function () {
    +  document.getElementById("FS").onchange = checkFileSize;
    +}
    + +

    You can see a live example of the File size constraint validation.

    + +

    制約検証における表示の整形

    + +

    Apart from setting constraints, web developers want to control what messages are displayed to the users and how they are styled.

    + +

    要素の外見の制御

    + +

    The look of elements can be controlled via CSS pseudo-classes.

    + +

    CSS の :required および :optional 疑似クラス

    + +

    The {{cssxref(':required')}} and {{cssxref(':optional')}} pseudo-classes allow writing selectors that match form elements that have the {{ htmlattrxref("required") }} attribute, or that don't have it.

    + +

    :placeholder-shown CSS pseudo-class

    + +

    See {{cssxref(':placeholder-shown')}}

    + +

    CSS の :valid :invalid 疑似クラス

    + +

    The {{cssxref(':valid')}} and {{cssxref(':invalid')}} pseudo-classes are used to represent <input> elements whose content validates and fails to validate respectively according to the input's type setting. These classes allow the user to style valid or invalid form elements to make it easier to identify elements that are either formatted correctly or incorrectly.

    + +

    制約違反の文字列の制御

    + +

    The following items can help with controlling the text of a constraint violation:

    + +
      +
    • element.setCustomValidity(message) method on the following elements: + +
        +
      • {{HTMLElement("fieldset")}}. Note: Setting a custom validity message on fieldset elements will not prevent form submission in most browsers.
      • +
      • {{HTMLElement("input")}}
      • +
      • {{HTMLElement("output")}}
      • +
      • {{HTMLElement("select")}}
      • +
      • Submit buttons (created with either a {{HTMLElement("button")}} element with the submit type, or an input element with the {{HTMLElement("input/submit", "submit")}} type. Other types of buttons do not participate in constraint validation.
      • +
      • {{HTMLElement("textarea")}}
      • +
      +
    • +
    • The ValidityState interface describes the object returned by the validity property of the element types listed above. It represents various ways that an entered value can be invalid. Together, they help explain why an element's value fails to validate, if it's not valid.
    • +
    -- cgit v1.2.3-54-g00ecf