CSS

icon picker
CSS Fundamentals

Last edited 461 days ago by Makiel [Muh-Keel].
CSS (Cascading Style Sheets) is a textual language for describing how a webpage is styled for visual presentation. Web browsers use CSS to determine how a webpage is rendered on the screen, printed to paper, or presented via other media
A CSS rule consists of a selector followed by a declaration block between braces ({}).
A CSS selector specifies the HTML elements to which the specific style rule applies.
A declaration block contains one or more declarations separated by semicolons (;).
A CSS styling declaration is a CSS property followed by a colon (:) and the property value.
image.png

Applying CSS

A webpage may use all three methods for applying CSS styles. CSS can be applied to HTML in three ways:
An inline style places CSS declarations inside an element's style attribute.
An embedded stylesheet places CSS rules in an HTML document's head using a <style> element.
An external stylesheet places CSS rules in a separate file that is imported into an HTML document with a <link> element.
image.png

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.