I am trying to make a instagram like website I need some help with positioning cards in CSS. Because when ever they are added they get put underneath one and other. I have tried to play with positing in CSS and can't get the perfect fit.
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<!-- Compiled and minified CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.96.1/css/materialize.min.css">
<!-- Compiled and minified JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.96.1/js/materialize.min.js"></script>
<br>
<div class="container">
<div class="row">
<div class="col s12 m7">
<div class="card large">
<div class="card-image">
<img src="images/test.jpg">
<span class="card-title">Card Title</span>
</div>
<div class="card-content">
<p>I am a very simple card. I am good at containing small bits of information.
I am convenient because I require little markup to use effectively.</p>
</div>
<div class="card-action">
<a class="waves-effect waves-light btn modal-trigger" href="#modal1">Modal</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col s12 m7">
<div class="card large">
<div class="card-image">
<img src="images/test.jpg">
<span class="card-title">Card Title</span>
</div>
<div class="card-content">
<p>I am a very simple card. I am good at containing small bits of information.
I am convenient because I require little markup to use effectively.</p>
</div>
<div class="card-action">
<a class="waves-effect waves-light btn modal-trigger" href="#modal1">Modal</a>
</div>
</div>
</div>
</div>
If you look at instagram it has 3 pictures beside each other. I want to do the same but with 2 of them any advice?