display flex css align center example
Example: centering with flexbox
/* HORIZONTAL */
justify-content: center;
/* VERTICAL */
align-items: center;
/* HORIZONTAL */
justify-content: center;
/* VERTICAL */
align-items: center;