Answers for "divider between flex items"

CSS
1

css flex divide evenly

flex: 1 1 0px
Posted by: Guest on April-15-2020
0

vertical divider between my flexbox

section {
  display: flex;
  flex-direction: row;
  flex: 1;
  margin: 0 -8px;
  align-items: center;
}
section>* {
  margin: 0 8px;
}
.divider {
  width: 2px;
  margin: 6px 0;
  background: blue;
  align-self: stretch;
}
.item {
  flex: 1;
  background: orange;
}
Posted by: Guest on August-03-2020

Code answers related to "divider between flex items"

Browse Popular Code Answers by Language