We’ll go over the top 10 useful things to know that we haven’t covered so far in the course.

Center a div with the CSS declaration of margin: 0 auto

To center any layout, for example, inside the <body> element, you can use the world-famous margin: 0 auto.

For example:

Get hands-on with 1200+ tech skills courses.