From 512e89205cd7bc024ff9c4f4a11808bc420a3aba Mon Sep 17 00:00:00 2001 From: moerp Date: Tue, 16 Apr 2024 18:57:54 +0200 Subject: [PATCH] button --- src/static/style.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/static/style.css b/src/static/style.css index 7529306..c52bc19 100644 --- a/src/static/style.css +++ b/src/static/style.css @@ -254,3 +254,14 @@ button#submit-button { 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 */ +} +