Answers for "css flex two divs same witdth"

7

flex all child same width

.child {
	flex: 1;
}
Posted by: Guest on July-17-2020
0

how to put two items befside each other using flexbox

.flex-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 5px;
}

.column-item:nth-of-type(-n + 3) {
  grid-column: span 2;
}

.column-item {
  background-color: lightgreen;
}
Posted by: Guest on December-16-2019

Browse Popular Code Answers by Language