r/csshelp • u/yesandone • Jun 24 '23
POSITIONING PROBLEM
Can someone help me understand how to position this?
I've been feeling stuck while trying to rebuild a site, I'm rebuilding a site to test my css skills but I've run into a roadblock, so , any help?
https://unique-scone-01b01a.netlify.app
(this isn't the site but it explains my problem exactly)
2
Upvotes
View all comments
Show parent comment
2
u/thirtyseven1337 Jun 25 '23
position:relative basically sets the reference points (top, bottom, left, right — so y AND x value) for all the elements inside it, and any element that is position:absolute will refer its closest ancestor that is position:relative.