Skip to content

Instantly share code, notes, and snippets.

@jjaimealeman
Created September 18, 2021 02:19
Show Gist options
  • Save jjaimealeman/f9bbd98f6eca95908318ac5b24d73a7d to your computer and use it in GitHub Desktop.
Save jjaimealeman/f9bbd98f6eca95908318ac5b24d73a7d to your computer and use it in GitHub Desktop.
center a div
.parentDiv {
align-items: center;
display: flex;
justify-content: center;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment