I'm trying to achieve something like this: TW Bootstrap: How to overflow columns. Essentially overflow horizontally content in a column. But what's happening is the content that I'm making doesn't keep the specified height and width and they just stack on each other
CSS
.person-details-container {
display: flex;
overflow-x: hidden;
.person-details {
width: 267px;
height:215px;
}
}
HTML
<div class="container person-details-container">
<div class="row">
<div class="col-xs-12">
<div class="person details">
<div class="el-card">
some card info 1 with a set width and height
<div class="el-card">
some card info 2 with a set width and height
How do I keep the width and height of contents inside and not stack on each other?
EDIT
Here's what I'm trying to achieve. Please don't mind the "span" arrow