Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| modul:m293:learningunits:lu12:loesungen:cssgrundlagen [2024/03/28 14:07] – angelegt - Externe Bearbeitung 127.0.0.1 | modul:m293:learningunits:lu12:loesungen:cssgrundlagen [2025/05/07 17:44] (aktuell) – kmaurizi | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| ====== LU12.L01 - CSS Grundlagen ====== | ====== LU12.L01 - CSS Grundlagen ====== | ||
| - | [[https:// | + | [[https:// |
| - | <file html4strict index.html> | + | {{gh>https://github.com/templates-html/m293-lu12-a01-basics/blob/solution/index.html}} |
| - | < | + | |
| - | <html lang=' | + | |
| - | < | + | |
| - | < | + | |
| - | <meta charset=' | + | |
| - | <link href=' | + | |
| - | </head> | + | |
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | <p>1. Absatz</ | + | |
| - | <p class=' | + | |
| - | <p class=' | + | |
| - | <p class=' | + | |
| - | < | + | |
| - | </ | + | |
| - | </html> | + | |
| - | </ | + | |
| - | <file css style.css> | + | {{gh>https://github.com/templates-html/m293-lu12-a01-basics/ |
| - | /* 1. */ | + | ---- |
| - | body { | + | |
| - | font-family: Futura, sans-serif; | + | |
| - | } | + | |
| - | /* 5. */ | ||
| - | header, | ||
| - | footer { | ||
| - | font-size: 80%; | ||
| - | background-color: | ||
| - | text-align: left; | ||
| - | } | ||
| - | |||
| - | /* 7. */ | ||
| - | nav { | ||
| - | font-size: 90%; | ||
| - | background-color: | ||
| - | color: #ffffff; | ||
| - | text-align: center; | ||
| - | } | ||
| - | |||
| - | /* 6. */ | ||
| - | h1, h2{ | ||
| - | color: darkslateblue; | ||
| - | } | ||
| - | |||
| - | /* 2. */ | ||
| - | p.remark { | ||
| - | margin-left: | ||
| - | border-left: | ||
| - | padding-left: | ||
| - | } | ||
| - | |||
| - | /* 3. */ | ||
| - | p.remark.warning { | ||
| - | border-left: | ||
| - | border-top: 1.5px solid blue; | ||
| - | border-right: | ||
| - | border-bottom: | ||
| - | text-align: center; | ||
| - | } | ||
| - | |||
| - | /* 4. */ | ||
| - | .warning { color: blue; } | ||
| - | .bigfont { font-size: 130%; } | ||
| - | |||
| - | </ | ||
| - | ---- | ||
| - | < | ||
| {{tag> | {{tag> | ||
| [[https:// | [[https:// | ||