From 218934fa2ed1c702a6d3923d2aa2cc6b43c48684 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:43:23 -0500 Subject: initial commit --- files/tr/glossary/css/index.html | 46 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 files/tr/glossary/css/index.html (limited to 'files/tr/glossary/css/index.html') diff --git a/files/tr/glossary/css/index.html b/files/tr/glossary/css/index.html new file mode 100644 index 0000000000..40f4c6ee7d --- /dev/null +++ b/files/tr/glossary/css/index.html @@ -0,0 +1,46 @@ +--- +title: CSS +slug: Glossary/CSS +tags: + - CSS + - CodingScripting + - Glossary + - Komut Dosyası + - Sözlük + - Web + - 'l10n:priority' + - oncelik +translation_of: Glossary/CSS +--- +

CSS (Cascading Style Sheets) is a declarative language that controls how webpages look in the {{glossary("browser")}}. The browser applies CSS style declarations to selected elements to display them properly. A style declaration contains the properties and their values, which determine how a webpage looks.

+ +

CSS is one of the three core Web technologies, along with {{Glossary("HTML")}} and {{Glossary("JavaScript")}}. CSS usually styles {{Glossary("Element","HTML elements")}}, but can be also used with other markup languages like {{Glossary("SVG")}} or {{Glossary("XML")}}.

+ +

A CSS rule is a set of {{Glossary("CSS Property","properties")}} associated with a {{Glossary("CSS selector", "selector")}}. Here is an example that makes every HTML paragraph yellow against a black background:

+ +
/* The selector "p" indicates that all paragraphs in the document will be affected by that rule */
+p {
+  /* The "color" property defines the text color, in this case yellow. */
+  color: yellow;
+
+  /* The "background-color" property defines the background color, in this case black. */
+  background-color: black
+}
+ +

"Cascading" refers to the rules that govern how selectors are prioritized to change a page's appearance. This is a very important feature, since a complex website can have thousands of CSS rules.

+ +

Learn more

+ +

General knowledge

+ + + +

Technical reference

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