Skip to content

Instantly share code, notes, and snippets.

@JoshuaFrontEnd
Created February 8, 2018 13:29
Show Gist options
  • Save JoshuaFrontEnd/cac614579b17ecb4d59c2ffed3ff6d49 to your computer and use it in GitHub Desktop.
Save JoshuaFrontEnd/cac614579b17ecb4d59c2ffed3ff6d49 to your computer and use it in GitHub Desktop.
Centrar cualquier elemento hijo en posición vertical y horizontal en CSS con flexbox, aplicar clase css al contenedor
.centerFlex {
display: flex;
justify-content: center;
align-items: center;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment