Hanna Wäger
Hybrid & Urgent Publishing
theory

Same folder:


Index.html
Style.css


In header link to Css:




You can go into: Inspect elements -> you can see which elements are which
And then you can change things in Style.css


. Means class (green)

Class is always more specific -> overwrites all the general rules

# only for id and only for one element

„“ keeps words together as one -> understandable for a computer


-> Wild card applies to everything


Web inspector

Positon relative : Top px

Postion absolut: overlap other elements

devdocs


@media Screen and (min-width: px;)

P {background:yellow;}


You can use more :


@media Screen and (min-width: px;)

P {background:yellow;}


@media print
P {background:yellow;}


Then it only applies print when you print it


API - code that always is update with a certain value/ information for example how many followers someone has at the moment

-> in that case publication will always be up to date when you print it
documentation