Answers for "vertical divider between my flexbox"

CSS
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 "vertical divider between my flexbox"

Browse Popular Code Answers by Language