
Alexei Thomas
2,492 PointsWhy doesn't justify-content: flex-end work on the button?
I understand you can't use align-self on the button as the axis was swapped when you switch to column...but why does justify-content: flex-end; not work as this would target the axis you are trying to work on? This just seems more intuitive to me than messing with margins.
1 Answer

Jamie Reardon
Treehouse Project ReviewerNo, that's where margins come in.
Flex-container properties for aligning items:
justify-content: ;
align-content: ;
align-items: ;
Flex-items properties for aligning individual items:
align-self: ;
/* margin properties */
Alexei Thomas
2,492 PointsAlexei Thomas
2,492 PointsOk I just realized that justify-content only works on the flex container...but, is there some sort of equivalent to "align-self" for flex items on the main axis?