Differences
This shows you the differences between two versions of the page.
daniel_02 [2019-08-27 10:58] Mattias Hamberg |
daniel_02 [2022-07-18 13:20] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Genomgång - Introduktion css====== | ||
- | [[http:// | ||
- | |||
- | <code html> | ||
- | < | ||
- | <html lang=" | ||
- | < | ||
- | <meta charset=" | ||
- | <link rel=" | ||
- | < | ||
- | </ | ||
- | < | ||
- | <!-- Nedan själva sidan, där skall du klista in texten och tagga den med rätt taggar --> | ||
- | < | ||
- | <a href=" | ||
- | Text | ||
- | <p class=" | ||
- | Text | ||
- | |||
- | <!-- Slut på sidan --> | ||
- | </ | ||
- | </ | ||
- | </ | ||
- | <code css> | ||
- | * { | ||
- | margin: 0; | ||
- | padding: 0; | ||
- | } | ||
- | |||
- | body { | ||
- | font-size: 26px; | ||
- | } | ||
- | |||
- | h1 { | ||
- | font-size: 2em; | ||
- | margin: 10px; | ||
- | padding: 10px; | ||
- | } | ||
- | |||
- | p { | ||
- | font-size: 18px; | ||
- | } | ||
- | |||
- | p { | ||
- | font-size: 35px; | ||
- | font-family: | ||
- | background-color: | ||
- | color: #fa0; | ||
- | border: 2px dotted red; | ||
- | width: 60%; | ||
- | padding: 10px 30px 50px 70px; | ||
- | margin: 30px auto; | ||
- | } | ||
- | |||
- | a, h1 { | ||
- | border: 1px black solid; | ||
- | } | ||
- | |||
- | a:hover { | ||
- | | ||
- | } | ||
- | |||
- | p a { | ||
- | border: none; | ||
- | } | ||
- | |||
- | p a:hover { | ||
- | | ||
- | } | ||
- | |||
- | p.important { | ||
- | | ||
- | } | ||
- | |||
- | </ |