CSS-Variablen
Einheitliche Gestaltung von Elemente
/* Wenn eine Farbe oder ein Font verändert werden soll, muss dies *
* über alle Zeilen und ev. mehrere CSS-Dateien gemacht werden: */
body {
color: #333333;
font-family: Arial, sans-serif;
}
header {
color: #4a69c7;
background-color: #ffeab0;
height: 80px;
}
h1, h2 {
color: #4a69c7;
font-family: Roboto, Verdana, sans-serif;
}
button {
background-color: #ffeab0;
font-family: Roboto, Verdana, sans-serif;
}
a {
color: #4a69c7;
text-decoration: none;
}
a:hover {
color: #333333;
text-decoration: underline;
}🛠️ Aufgabe
Last updated
Was this helpful?