Answers for "how to make fonts of div to center"

CSS
89

center a div in css

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

center h1 css

h1 {
    width:500px;
    margin: 0 auto;
    background: gray;
    text-align: center;
}
Posted by: Guest on May-09-2020

Code answers related to "how to make fonts of div to center"

Browse Popular Code Answers by Language