DEV Community

loading...

Discussion on: How to center things in CSS 💘

Collapse
danielpdev profile image
danielpdev

Yes, that's right.
Although, to align both horizontally and vertically you can also use margin in combination with position.

here is an example