This commit is contained in:
@ -254,3 +254,14 @@ button#submit-button {
|
|||||||
padding: 10px 20px; /* Hinzufügen von etwas Platz um das Bild */
|
padding: 10px 20px; /* Hinzufügen von etwas Platz um das Bild */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button#remove-button {
|
||||||
|
background-image: url('images/marie2.jpg'); /* Pfad zum Bild */
|
||||||
|
background-size: contain; /* Passt das Bild innerhalb des Buttons an, ohne es zu strecken */
|
||||||
|
background-repeat: no-repeat; /* Verhindert das Wiederholen des Bildes */
|
||||||
|
background-position: center; /* Zentriert das Bild im Button */
|
||||||
|
color: transparent; /* Macht den Text unsichtbar, damit nur das Bild sichtbar ist */
|
||||||
|
width: 62px; /* Setzt die Breite automatisch entsprechend des Inhalts */
|
||||||
|
height: 85px; /* Passt die Höhe an, um das Bild vollständig anzuzeigen */
|
||||||
|
padding: 10px 20px; /* Hinzufügen von etwas Platz um das Bild */
|
||||||
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user