I currently have a set of panels that while in full screen a centered correctly, when they are at a small resolution, they are not. Basically I have a container with around 7 panels in it:
<div class"container">
<div class="panel"></div>
<div class="panel"></div>
<div class="panel"></div>
<div class="panel"></div>
<div class="panel"></div>
<div class="panel"></div>
<div class="panel"></div>
</div>
I have created a code pen to show what it looks like in full screen: https://codepen.io/r3plica/pen/XemvyW?editors=0100
and in a small resolution (i.e. mobile) it looks like this: https://codepen.io/r3plica/pen/eGJOJN?editors=0100
I have made the background colour pink on the second codepen. I would like the items centering in the second pen without affecting the way it looks in a large resultion.
Does anyone know how I can achieve this?