CSS: Difference between revisions

From Utopia
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")
 
 
(One intermediate revision by the same user not shown)
Line 44: Line 44:




In CSS File
== Background ==
<code>background: #ad5389;</code>
 
<code>background: linear-gradient(to right, #3c1053,</code>
 
== 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>

Latest revision as of 12:40, 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;



Background

background: #ad5389;

background: linear-gradient(to right, #3c1053,

Display

Grid

display: grid;

grid-template-columns: 1fr 1fr 1fr;

grid-template-rows: minmax(200px, auto) minmax(200px, auto);

grid-gap: 5%;