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 trialSAMUEL LAWRENCE
Courses Plus Student 8,447 PointsHow do you align the flexbox to the top?
Hi Guil Hernandez also in this video, you mentioned how to align the column center and flex-end which puts it at the bottom. How do you align it top, or flex start or what not? My point is what if you want it at the top?
1 Answer
Jonathan Grieve
Treehouse Moderator 91,253 PointsI'm not 100% on this by any means but try using
align-self: flex-start;
This seems to push a flex item to the top of it's flex container according to this article on CCS Tricks. :-) http://css-tricks.com/snippets/css/a-guide-to-flexbox/
SAMUEL LAWRENCE
Courses Plus Student 8,447 PointsSAMUEL LAWRENCE
Courses Plus Student 8,447 PointsHi Jonathan Grieve thank you. It worked perfectly. And thanks for the link, very helpful.