0

no align-item

i want "closebtn" put on middle of height ( justify-content: center; justify-items: center;) but only it fine work that insted of: body{ display: flex; justify-content: center; align-items: center; } be this: body, .header-content { display: flex; justify-content: center; align-items: center; } but no work on ( justify-content: center; align-items: center;) to ".header-content" selector. of course ".header-content" is contain (justify-content: space-betwen;) why? https://code.sololearn.com/WAc6Z76HMTns

15th Aug 2022, 7:19 AM
Hadi
Hadi - avatar
1 Respuesta
25th Aug 2022, 12:34 AM
Vahab Mohammadi
Vahab Mohammadi - avatar