Quick tutorial on how to stack elements using CSS grid instead of position absolute:
Jess Chan | Coder Coder
Visit on X@thecodercoder45K followers
11,933 views
Quick tutorial on how to stack elements using CSS grid instead of position absolute:
7 Comments
Comments from the original post on X (Twitter)

@_ss1ngh
we are still learning css in big 2026?

@JamesKom17136
Not bad

@rolex_devv
Really nice tutorial. Thanks. I miss writing plain CSS.

@kolioyama
This would only be useful when dealing with only two elements, correct?

@thecodercoder
It will work with multiple elements! You can individually align them with the justify-self and align-self properties if need be.
2 likes

@kolioyama
Oh that's interesting. Thank you Jess. Been learning a lot from you over the years

@ManDoesCode1
Don't mind if I follow you, @thecodercoder! Enjoy your morning and or day, or morning, or day!