Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1256 Ansichten

  I'm currently experimenting with CSS Flexbox to structure the layout of my website, but it seems like I've hit a roadblock. Despite my best efforts, something's not quite right. Can anyone help me identify and fix the issue?

I have a container with child elements that I want to arrange using Flexbox, but the layout is not behaving as expected. Items are not aligning or distributing as I intended. I'm hoping you can review the code and point out what might be causing the problem.

here is my code




   
   
   



   

         
Item 1

         
Item 2

         
Item 3

     





The goal is to have the three .flex-item elements evenly spaced within the .flex-container, with space between them. However, something is off, and the layout is not aligning as intended. Can you take a look and help me figure out what might be causing this layout hiccup?
Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Apr. 25
715
1
Feb. 23
2101
0
Nov. 22
1822
2
Feb. 21
8992
1
Okt. 24
3298