From ba737a7d78e27bd2c22a31ceb11a3680d60ee87c Mon Sep 17 00:00:00 2001 From: Eline Steinbrecher <2124892@stud.hs-mannheim.de> Date: Wed, 26 Apr 2023 20:16:19 +0200 Subject: [PATCH] ausrichtung produkte --- public/css/desktop.css | 27 +++++++++++++++++---------- public/produkte.html | 18 +++++++++--------- 2 files changed, 26 insertions(+), 19 deletions(-) diff --git a/public/css/desktop.css b/public/css/desktop.css index 1e7a9e2..201b034 100644 --- a/public/css/desktop.css +++ b/public/css/desktop.css @@ -227,20 +227,27 @@ label { margin-left: 100px; } - -.produkte{ - - border:#606060 3px solid; - display: inline-block; - margin: 10px; - +.produktueberschrift{ + text-align: center; + margin:50px; } -.produktbild{ +.parent{ + display: flex; + justify-content: space-around; + flex-wrap:wrap; + align-content: center; +} + +.produkte{ + display: flex; border:#606060 3px solid; - + display: inline-block; + margin: 25px; } .produktbottom{ + justify-content: space-between; + display: flex; margin:10px; -} \ No newline at end of file +} diff --git a/public/produkte.html b/public/produkte.html index 0da2077..5043a79 100644 --- a/public/produkte.html +++ b/public/produkte.html @@ -24,11 +24,11 @@ -
-

Produkte

- +

Produkte

+ +
- Karotten + Karotten
FoodAmpel gelb @@ -52,7 +52,7 @@
- Birnen + Birnen
FoodAmpel gelb @@ -76,7 +76,7 @@
- Orangen + Orangen
FoodAmpel gelb