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 +++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 files/ja/glossary/property/css/index.html (limited to 'files/ja/glossary/property/css') 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;
+}
+ +

詳細情報

+ +

一般知識

+ + + +

技術リファレンス

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