Skip to content
Discussion options

You must be logged in to vote

Without knowing your exact HTML and CSS, it's hard to give exact directions, bug something like this should work

<div style="display: flex; justify-content: space-between; align-items: center">
  <div>Aligned to left</div>
  <div>Aligned to right</div>
</div>

Warning: This example uses inline styles for clarity, but it's better to move this into CSS classes.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@frederic-loui
Comment options

Answer selected by squidfunk
Comment options

You must be logged in to vote
1 reply
@squidfunk
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants