Answers for "how to set span center"

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

Browse Popular Code Answers by Language