0
Position : sticky , align-items:center , justify-content: center not working on this program why?
https://sololearn.com/compiler-playground/W1ebcHY9qjtJ/?ref=app
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?
+ 1
t
There is only 1 item in .Heading. How should it be aligned?
0
Align-items in . Heading section
0
maybe use
position:fixed;
instead.
Also, .box is the one that should be fixed, not .box1