Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
moaaz bhnas
1,673 PointsCan I apply position values(relative, absolue, fixed) to flex items
I declared a container div as a flex container but I want to move one of the flex items slightly down so how do the position property deal with flex items? I want any resources to read in this topic
1 Answer
Steven Parker
243,318 PointsYou can, but there's probably a better way.
Mixing position and flex could get pretty confusing, I'd bet that you can accomplish your goal a better way. Since you're already using flex, I would expect perhaps some padding or margin would do, or maybe even a different setting on one of the flex properties.
If you'd like more specific help, show your code or even better, make a snapshot of your workspace and post the link to it here.