0

Position : sticky , align-items:center , justify-content: center not working on this program why?

https://sololearn.com/compiler-playground/W1ebcHY9qjtJ/?ref=app

30th Dec 2023, 7:18 AM
Dark knight
Dark knight - avatar
4 Respuestas
+ 2
It works for me... The header div aligns the subheader div Which is the problem? Can you specify where is the problem?
30th Dec 2023, 9:27 AM
Ugulberto Sánchez
Ugulberto Sánchez - avatar
+ 1
t There is only 1 item in .Heading. How should it be aligned?
30th Dec 2023, 10:53 AM
Lisa
Lisa - avatar
0
Align-items in . Heading section
30th Dec 2023, 10:26 AM
Dark knight
Dark knight - avatar
0
maybe use position:fixed; instead. Also, .box is the one that should be fixed, not .box1
30th Dec 2023, 12:42 PM
Bob_Li
Bob_Li - avatar