CSS (Wordhole): Difference between revisions

From XPUB & Lens-Based wiki
(test onlyinclude)
Line 1: Line 1:
==Definition==
==Definition==
CSS (or Cascading Style Sheets) is a programming language used to change the styling (color, typography, layout, etc.etc... the limits are almost endless) of web content, by referencing HTML elements using various CSS selectors. Additionally to HTML, CSS specs are maintained my the W3C, but implementation of these specs can deffer per browser (looking at you, Internet explorer).  
CSS (or Cascading Style Sheets) is a programming language used to change the styling (color, typography, layout, etc.etc... the limits are almost endless) of web content, by referencing HTML elements using various CSS selectors. Additionally to HTML, CSS specs are maintained my the W3C, but implementation of these specs can deffer per browser (looking at you, Internet explorer).  
<onlyinclude>this should be the only bit</onlyinclude>


===Example of CSS===
===Example of CSS===

Revision as of 15:03, 20 October 2023

Definition

CSS (or Cascading Style Sheets) is a programming language used to change the styling (color, typography, layout, etc.etc... the limits are almost endless) of web content, by referencing HTML elements using various CSS selectors. Additionally to HTML, CSS specs are maintained my the W3C, but implementation of these specs can deffer per browser (looking at you, Internet explorer).

this should be the only bit

Example of CSS

body, .bg--red, a:hover { 
    background-color: red;
}

In this example, the selector selects the <body> element, and any element with the class bg--red, and every link that has a pseudo class of "hover" (mouse over element). The changed property is the background-color of these elements, with a value of red.

Examples of websites that use CSS

Images and links

See also

HTML (Wordhole)