Is there a way to align the last element in the center without affecting the first one?
The code snippet below demonstrates how this can be achieved:
.impress-profiles {
.flex() //less mixin for flexbox
flex-flow: row wrap;
justify-content: center;
li {
flex-shrink: 0;
}
}
The corresponding HTML code is a simple list as shown below:
<ul class="impress-profiles">
<li>...</li>
<li>...</li>
<li>...</li>
</ul>
This is what the layout looks like: