I need two divs taking up 100% width, ideally 50% each (but I am flexible). With an arrow displaying below on the active tab.
The flex-grow feature of flexbox doesn't seem to be affecting the placement of the after pseudo-element arrow. In full screen, you can see the arrow, but when flex-grow kicks in the arrow stays put and is hidden by the background color.
https://codepen.io/sherrylking/pen/MWWXEBv
.qo-tab-section {
display: flex;
}
.qo-tab-section div {
padding: 20px 20px 20px 20px;
flex-basis: 50%;
}
.qo-active-tab:after {
content:'';
position: relative;
border-style: solid;
border-width: 20px 20px 0;
border-color: #027777 transparent;
display: block;
width: 0;
z-index: 1;
top: 43px;
}