Answers for "css ditribute width equealy to child components"

CSS
0

css ditribute width equealy to child components

.wpr {
  display: flex;
  width: 400px;
}

.wpr div {
  flex: 1 2 0;
  border: 1px solid yellow;
  background: pink;
  text-align: center;
  min-height: 40px;
}
Posted by: Guest on September-10-2020

Browse Popular Code Answers by Language