A
A
Albert Kazan2016-10-04 09:05:19
MySQL
Albert Kazan, 2016-10-04 09:05:19

How to make a 2 column ribbon?

How to make a listing of blocks containing, for example, articles, in 2 columns.
That's how google+ and the old facebook timeline .
They are dated from left to right, not top to bottom. That is, it seems to me that it is not done through a stupid alternation by the request cycle.
At the same time, I want to make blocks that occupy both the left and right columns. This was in the same old fb timeline when he marked a post as "important".
PS I liked this thing back in 2014, but only now I needed to do this.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Sol, 2016-10-05
@Farrien

Do you mean something like this option? In any case, if you have posts with different heights, it is better to use the Masonry library
https://jsfiddle.net/pxhdvkv4/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question