Answers for "how to align content to center in css"

CSS
1

align div content center

.child {
  ...
  margin: 0 auto;
}
Posted by: Guest on July-30-2021
21

how to center text in css

.class {
	text-align: center;
}
Posted by: Guest on February-15-2020

Code answers related to "how to align content to center in css"

Browse Popular Code Answers by Language