Answer the question
In order to leave comments, you need to log in
Column alignment after scrolling
Hello dear community!
I ask for your help in the following question:
There is an html page with the text:
<article>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc libero magna, venenatis quis aliquet et,
rutrum in augue. Donec vel tempor dolor. Donec volutpat fringilla porta. Suspendisse non nulla tortor.
Quisque commodo ornare mi, sit amet aliquet justo bibendum non. Integer bibendum convallis sapien, sit
amet tincidunt orci placerat in. Integer vitae consequat augue.
//и т.д.
</article>
article {
-webkit-column-count:20;
-moz-column-count:20;
column-count:20;
}
Answer the question
In order to leave comments, you need to log in
Probably after the user has finished 'scrolling' you need to recalculate the `offsetLeft` for the container so that the full column is shown. Rough sketch made by (webkit only) jsbin
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question