I'm trying to get a full width content box to appear underneath a grid item on click... I have it appearing when the grid is 4 wide, but because of the absolute positioning, it covers up items below it.
The behavior that I'm after is that it would move the other grid items below it down when a full width content box appears. I can't have it covering up any of the other grid items. Note that the height of the full-width content box would change based on the content length within it.
.track-box, .content {
padding-top: 50px;
padding-bottom: 50px;
margin: 5px;
}
.track-content {
position: absolute;
left: 0;
max-width: 100%;
padding: 20px;
margin: 10px;
}
https://codepen.io/Finches/pen/XVgxEb
Any help on how to approach this? Thanks.