Answers for "css put text in center of page"

CSS
89

center a div in css

.container {
  display: flex;
  justify-content: center;
  align-items: center;
}
Posted by: Guest on September-09-2020
0

how to assign something in center inside a div

P { text-align: center }
H2 { text-align: center }
Posted by: Guest on October-20-2020

Code answers related to "css put text in center of page"

Browse Popular Code Answers by Language