no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | stylesheet [2023/01/06 18:13] (current) – created TheFrugalGamer | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ==== Cascading Style Sheet ==== | ||
+ | A cascading style sheet is a text file that is saved with the .css extension. It allows web designers to add styles to web pages without altering the flow of data within them. This allows the content of the page to still be readable and understandable in the even that styling does not work properly or doesn' | ||
+ | |||
+ | An example style sheet: | ||
+ | < | ||
+ | < | ||
+ | body { | ||
+ | background-color: | ||
+ | background-image: | ||
+ | background-repeat: | ||
+ | width: 100%; | ||
+ | } | ||
+ | p { | ||
+ | font-size: 1em; | ||
+ | font-family: | ||
+ | } | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | Linking to a stylesheet should be done in the %%< | ||
+ | < | ||
+ | <link href=" | ||
+ | </ |