From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/glossary/property/css/index.html | 38 ++++++++++++++++++++++++ files/ja/glossary/property/index.html | 11 +++++++ files/ja/glossary/property/javascript/index.html | 27 +++++++++++++++++ 3 files changed, 76 insertions(+) create mode 100644 files/ja/glossary/property/css/index.html create mode 100644 files/ja/glossary/property/index.html create mode 100644 files/ja/glossary/property/javascript/index.html (limited to 'files/ja/glossary/property') diff --git a/files/ja/glossary/property/css/index.html b/files/ja/glossary/property/css/index.html new file mode 100644 index 0000000000..11b53f5265 --- /dev/null +++ b/files/ja/glossary/property/css/index.html @@ -0,0 +1,38 @@ +--- +title: Property (プロパティ) (CSS) +slug: Glossary/property/CSS +tags: + - CodingScripting + - Glossary +translation_of: Glossary/property/CSS +--- +

CSS のプロパティは、関連付けられた値によりブラウザーがどのように要素を表示するかを定義する特性です。

+ +

以下に CSS のルールの例を示します:

+ +
/* "div" はドキュメント中の全ての div 要素が */
+/* このルールによってスタイルを整えることを示すセレクタです。*/
+div {
+  /* 値 "black" を持つプロパティ "color" は、*/
+  /* テキストの色が黒くなることを示します。*/
+  color: black;
+
+  /* 値 "white" を持つプロパティ "background-color" は、*/
+  /* 要素の背景色が白くなることを示します。 */
+  background-color: white;
+}
+ +

詳細情報

+ +

一般知識

+ + + +

技術リファレンス

+ + diff --git a/files/ja/glossary/property/index.html b/files/ja/glossary/property/index.html new file mode 100644 index 0000000000..b32b7ec26f --- /dev/null +++ b/files/ja/glossary/property/index.html @@ -0,0 +1,11 @@ +--- +title: Property (プロパティ) +slug: Glossary/property +tags: + - Disambiguation + - Glossary +translation_of: Glossary/property +--- +

プロパティという用語はコンテキストに応じて幾つかの意味を持ちます。以下を参照してください:

+ +

{{GlossaryDisambiguation}}

diff --git a/files/ja/glossary/property/javascript/index.html b/files/ja/glossary/property/javascript/index.html new file mode 100644 index 0000000000..20d306e1ee --- /dev/null +++ b/files/ja/glossary/property/javascript/index.html @@ -0,0 +1,27 @@ +--- +title: Property (プロパティ) (JavaScript) +slug: Glossary/property/JavaScript +tags: + - CodingScripting + - Glossary +translation_of: Glossary/property/JavaScript +--- +

JavaScript プロパティは、多くの場合データ構造と関連付けられた属性を記述する、オブジェクトの特性です。

+ +

プロパティは 2 種類あります。

+ + + +

プロパティは名前 ( {{glossary("string", "文字列")}}) と値 ({{glossary("primitive","プリミティブ")}}、{{glossary("method","メソッド")}}、{{glossary("object reference","オブジェクト参照")}}) のいずれかを持ちます。「プロパティが値を保持する」というのは、「プロパティがオブジェクト参照を保持している」という意味です。プロパティの値を変更しても、元の参照オブジェクトは変更されないため、この区別は重要です。

+ +

関連項目

+ +

一般知識

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