Greetings! I am currently working on a website that utilizes tiles similar to this: https://i.sstatic.net/OzKQv.png
Everything seems to be in place, except for one tile that is not aligning with the rest. I am struggling to figure out how to position it correctly, and this roadblock is hindering my progress until I find a solution.
Here is a snippet of my Less code:
.tile-loop(@index: 1) when (@index <= 6){
.tile-loop(@index + 1);
&.t@{index}x1{
width: (@index * @tile-width) + ((@index - 1) * 2 * @tile-margin);
height: @tile-height;
}
// More code for different tile sizes...
}
.tiles {
// Styling for the tiles container...
}
And here is a snippet of the HTML:
<div class="tiles">
<div class="grid">
// HTML markup for the tiles...
</div>
</div>
If you have any ideas or suggestions on how I can correctly position the misaligned tile, your help would be greatly appreciated. Thank you!