flexbox center of page code example Example: centering with flexbox /* HORIZONTAL */ justify-content: center; /* VERTICAL */ align-items: center;