DEV Community

Discussion on: Trivia or Job Interview?

Collapse
 
dylanesque profile image
Michael Caveney

That flexbox question sent me down an interesting rabbit hole with align-self: I could have sworn that that was the fix for that type of situation, but that only works for cross-axis items. The way to do this without an extra container is to set margin-left: auto on the item you need to be pushed over. I ONLY know this because I came across it in Josh Comeau's CSS course. It's handy, but arguably trivia/epherma.