I need a two column page
I need something like where div, p and h1 go to the second column when I get to the bottom of the page when I print.
Example: https://i.stack.imgur.com/IfdK4.jpg
I need a two column page
I need something like where div, p and h1 go to the second column when I get to the bottom of the page when I print.
Example: https://i.stack.imgur.com/IfdK4.jpg
2
Answers
You can use the column-count css property on the parent div for specifying the number of columns.
Please refer below sample code :
Use
column-count: 2;
to specify the element into two columns andcolumn-gap
to specify the gap between two columns.