{"id":3506,"date":"2024-05-22T10:19:46","date_gmt":"2024-05-22T10:19:46","guid":{"rendered":"https:\/\/crea.space\/?post_type=dictionary&p=3506"},"modified":"2024-06-17T07:03:50","modified_gmt":"2024-06-17T07:03:50","slug":"css-cascading-style-sheets","status":"publish","type":"dictionary","link":"https:\/\/crea.space\/web-development-dictionary\/css-cascading-style-sheets","title":{"rendered":"CSS (Cascading Style Sheets)"},"content":{"rendered":"\n
CSS stands for Cascading Style Sheets, which is a language that we use to describe the appearance and formatting of a document written in HTML or XML. CSS controls the layout, colors, fonts, and overall visual presentation of web pages.<\/p>\n\n\n\n
Selectors are patterns used to select the elements you want to style. For example, you can select elements by their tag name, class, or ID.<\/p>\n\n\n\n
p<\/code> selects all <p><\/code> (paragraph) elements.<\/li>\n<\/ul>\n\n\n\n2. Properties<\/h3>\n\n\n\n
Properties are aspects of the elements that you want to change. Each property has a name and a value.<\/p>\n\n\n\n
\n- Example<\/strong>:
color<\/code>, font-size<\/code>, margin<\/code>.<\/li>\n<\/ul>\n\n\n\n3. Values<\/h3>\n\n\n\n
Values are the settings you apply to the properties.<\/p>\n\n\n\n
\n- Example<\/strong>:
color: red;<\/code> sets the text color to red.<\/li>\n<\/ul>\n\n\n\n4. Ruleset<\/h3>\n\n\n\n
A ruleset consists of a selector and a declaration block.<\/p>\n\n\n\n
\n- Example<\/strong>:<\/li>\n<\/ul>\n\n\n\n