css center text

48

html center body -

body {
  display:flex; flex-direction:column; justify-content:center;
  min-height:100vh;
}

html center body -

body {
max-width: max-content;
margin: auto;
}

Comments

Submit
0 Comments