Skip to Content
Menu
This question has been flagged
1150 Views

  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
Discard
Related Posts Replies Views Activity
1
Apr 25
514
1
Feb 23
1987
0
Nov 22
1746
2
Feb 21
8851
1
Oct 24
3188