Answers for "css for centering body"

CSS
90

center a div in css

.container {
  display: flex;
  justify-content: center;
  align-items: center;
}
Posted by: Guest on September-09-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