Text-align for flex element

0 votes
172 views
added Mar 26, 2018 in CSS by LC Marshal Captain (25,790 points)
edited Jul 25, 2018 by LC Marshal
li {
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...