Answers for "how to make tge flex in your unorded list row"

0

how to make tge flex in your unorded list row

.example {
  width: 50%;
  border: 1px solid #000;
  margin: 1em 0;

  ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    padding-left: 0;
  }

  li {
    list-style: none;
    display: inline-block;
    width: calc(100% / 3);
    height: 120px;
    text-align: center;
  }
}
Posted by: Guest on September-25-2021

Browse Popular Code Answers by Language