Answers for "how to create a box and center text in that box cs"

CSS
89

center a div in css

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

how to center a div

.div {
	width: 80%;
    margin: auto;
}
Posted by: Guest on September-27-2021

Code answers related to "how to create a box and center text in that box cs"

Browse Popular Code Answers by Language