Answers for "css align inner content center"

CSS
90

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 align inner content center"

Browse Popular Code Answers by Language