Answers for "center body tag in html"

CSS
0

html center body

body {
  display:flex; flex-direction:column; justify-content:center;
  min-height:100vh;
}
Posted by: Guest on July-28-2020
0

html center body

body {
max-width: max-content;
margin: auto;
}
Posted by: Guest on July-28-2020

Browse Popular Code Answers by Language