Answers for "how to make a text in the center in html from left and top both"

6

centering css elements

// add to the parent element
.parent {
	display: grid;
    place-items: center;
}
Posted by: Guest on August-06-2020
1

css text align center

body {
  text-align: center;
}
Posted by: Guest on April-09-2020

Code answers related to "how to make a text in the center in html from left and top both"

Browse Popular Code Answers by Language