CSS: Difference between revisions
Jump to navigation
Jump to search
(Created page with " == In HTML File == === Klassen === .meineKlasse { } === Farben === background-color: white; color: white; === Schatten === box-shadow: 2px 2px 2px #0F0F0F; === Padding === padding-left: 20px; === Border === ==== Oben ==== border-top: 1px solid #0E0E0E; ==== Keine Grenzen ==== border: unset; === Positionierung === ==== Absolut ==== position: absolute; right: 16px; bottom: 16px; ==== Align ==== align-items: center; In CSS File") |
No edit summary |
||
Line 45: | Line 45: | ||
In CSS File | In CSS File | ||
== Display == | |||
=== Grid === | |||
<code>display: grid;</code> | |||
<code>grid-template-columns: 1fr 1fr 1fr;</code> | |||
<code>grid-template-rows: minmax(200px, auto) minmax(200px, auto);</code> | |||
<code>grid-gap: 5%;</code> |
Revision as of 12:34, 16 December 2023
In HTML File
Klassen
.meineKlasse {
}
Farben
background-color: white;
color: white;
Schatten
box-shadow: 2px 2px 2px #0F0F0F;
Padding
padding-left: 20px;
Border
Oben
border-top: 1px solid #0E0E0E;
Keine Grenzen
border: unset;
Positionierung
Absolut
position: absolute;
right: 16px;
bottom: 16px;
Align
align-items: center;
In CSS File
Display
Grid
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: minmax(200px, auto) minmax(200px, auto);
grid-gap: 5%;