My goal is to position the elements in a row, which is enclosed within a container, at the top of that row.
Here is the current structure of my HTML:
<div class="container">
<div class="row">
<div class="ticket">
<!-- content -->
</div>
</div>
</div>
The CSS styling for the ticket element is as follows:
<style>
.ticket{
border:5px solid black;
border-radius: 15px 50px 30px 5px;
width:20%;
height: fit-content;
display:inline-block;
clear: left;
margin-left:30px;
background-color:#eee;
}
</style>
"row" and "container" classes are part of Bootstrap framework.
I am attempting to align the 'tickets' with the top (red line) on this image
I have experimented with using align-content and align-items, but so far they have not yielded the desired effect. I would appreciate any assistance regarding this issue. Thank you.