Answers for "how to move text vertically in css"

CSS
15

css align items vertical center

.parent {
  display: flex;
  justify-content: center;
  align-items: center;
}
Posted by: Guest on October-31-2020
1

How do I vertically center text with CSS?

div {
  height: 100px;
  line-height: 100px;
  text-align: center;
  border: 2px dashed #f69c55;
}

<div>
  Hello World!
</div>
Posted by: Guest on July-26-2021

Code answers related to "how to move text vertically in css"

Browse Popular Code Answers by Language