SDE @Amazon
I'm a problem solver, community manager, and an SDE @Amazon. I believe in learning and growing with the community and giving back to the community.
Markdown supported · ⌘↵ to post
Good article! It is also possible to center the div using CSS grid like so:
body {
margin: 0;
width: 100%;
min-height: 100vh;
display: grid;
justify-content: center;
align-items: center;
}
div {
background: lightgreen;
height: auto;
}
Srikar Mk
Pretty nice. Congrats on finally posting your first blog 🫡.