Answers for "how to make the text vertically centered in css"

CSS
0

how to make the text vertically centered in css

/*attention, i used this code because i had to center a div with text in another div without text*/
div{
  position: relative;
  top: 25%;
  bottom: 25%;
}
Posted by: Guest on January-20-2021

Code answers related to "how to make the text vertically centered in css"

Browse Popular Code Answers by Language