Answers for "text center in span"

CSS
0

align items in span to center

.example {
  height: 200px;
  border: solid #CCCCCC 2px;
  padding: 0 10px;
  white-space: normal;
  word-break: break-word;
  display: flex;
  align-items: center;
}
Posted by: Guest on May-09-2021
0

text align left in span

display: flex;
text-align: left;
Posted by: Guest on August-04-2021

Browse Popular Code Answers by Language