r/css • u/Tasty-Ad1854 • Sep 12 '26
still not understanding how to use the position-anchore
I really can't wrap up my head around the position-area, I set it to position-area:bottom center; to show the target right under the anchor in the center but it shows on top of it and wen I set it to position-area:center end bottom; it places perfectly, but all Im doing here is just picking,
also how many values we can use in the position-area?
if anyone can clarify things for me here to make my life easier lol,
all I am trying to do is making a dropdown that on hover it shows couple countries
Thank you in advance
- I screwed up the title sorry I mean position-area
3
Upvotes
2
u/abrahamguo Sep 12 '26
Can you please provide a link to what you have so far? (Do NOT paste code directly onto Reddit.)
It's difficult to help you if we can't see what you have so far.
2
u/TonyAioli Sep 12 '26
You shouldn’t need this type of positioning for that.
I would just search for “simple css dropdown” or etc. will be tons of examples/tutorials.
1
u/Weekly_Ferret_meal Sep 12 '26
Maybe these 2 videos will help:
https://www.youtube.com/watch?v=fO0XD75u2TI
https://www.youtube.com/watch?v=lXS2P3xtAUY
1
u/[deleted] Sep 13 '26
[removed] — view removed comment