DEV Community

Discussion on: Center Text Vertically and Horizontally in CSS

Collapse
mrdanielschwarz profile image
Daniel Schwarz

margin: auto; also works.

I'd be keen to learn some more Flex/Grid tricks. Somebody writes about centering almost every day in this community.