Mindmap
CSS

Inhalt der Mindmap
CSS
What is it?
- Cascading style sheets
- A sort of language
- Describes the style of a HTML document
- It controls the layout of multiple webpages at once
- It stores external stylesheets
- Cascading style sheets
Why is it useful?
- It would save you work by styling many pages in one
- It saves you time
- You would be able to get more work done, raising your income
Code
- 3 Ways to insert CSS
- External style sheet
- Use this to change the look of an entire website by editing just on file
- Internal style sheet
- Use this to style one page to a unique variety
- Inline style
- Use this to style a specific element in the HTML
- External style sheet
- 3 Ways to insert CSS
How does it work?
- Syntax
- A CSS rule set that consists of a selector and declaration block
- The selector points to the HTML element you want to style
- The declaration block contains the declarations seperated with a semicolon
- Each declaration contains a CSS property name and value, seperated with a colon
- The declaration ends with a semicolon and the block will be surrounded by curly bracket
- Selectors
- They are used to find the HTML elements you want to style
- There are 5 different categories:
- Simple selector: based on name, ID or class
- Combinator selector: based on the reletionships between them
- Pseudo-class selector: based on a certain state
- Pseudo-element selector: to style a certain part of an element
- Attribute selector: based on an attribute or value
- Syntax
This man invented CSS - his name is Hakon Wium Lie
He invented it on Octobe rthe 10th, 1944
Bilder und Dateien der Mindmap
Informationen
- Beschreibung
- Mindmap am CSS, erstellt von Nellie Wellie am 19/09/2019.
- Erstellt von
- Nellie Wellie
- Aufrufe
- 0
- Bewertung
