There is a list of posts. Some posts have class left , others have right .
I need to somehow form 2 pseudo-columns, where the posts are with the class left on the left, and with the right on the right. Moreover, it is necessary to implement this with the help of CSS, since for certain reasons I cannot implement it in the normal way (create two columns and display the posts in the appropriate ones).
I started by using the float property, but I found that there are vertical 'spaces' between posts in this case.
I understand that it sounds terribly stupid. Is this even possible to implement?