Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1283 Lượt xem

  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?
Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 25
763
1
thg 2 23
2144
0
thg 11 22
1834
2
thg 2 21
9015
1
thg 10 24
3309