3 ms·
Really well. CSS has lots of paged media features, which are however not widely supported. There is paged.js which works quite well as a polyfill. CSS grids an
by bayesian_horse 7y ago
Really well. CSS has lots of paged media features, which are however not widely supported. There is paged.js which works quite well as a polyfill.
CSS grids and Flexbox are very useful.
Also, due to javascript it is really easy to incorporate custom layout logic. There are even several ways to use Knuth-Plass text justification.
Also there are libraries to perform linear constraint resolution, google for cassowary, kiwi or gss(constraint css).