I am attempting to design a CSS page that mimics the appearance of an aged newspaper.
The focus is on ensuring that the page is responsive, with a single column of text on smaller devices. However, the main issue I need help with lies elsewhere.
For larger screens, the layout should consist of either 2 or 3 columns, depending on the screen width.
While I have been successful in achieving this using CSS columns, I would like to add an additional layer of complexity by having the CSS columns wrap per page (set at 100vh).
My requirements are as follows:
- The text content should be comprised of multiple variable paragraph tags
- The text content must be split into three columns per page
- Each page should be relative to the device screen (100vh)
- The text must read left-to-right but flow top to bottom per column, similar to a newspaper's layout
Would it be possible to accomplish this layout using CSS Grid or any other method?
Below is an example of the HTML code:
<main class="page-content">
<h1 id="my-article-title">My article title</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
...
</main>
Thank you!
Update
Just to clarify further: Essentially, I am aiming for a design that replicates the appearance of a PDF document but in HTML format. I intend to create distinct pages of content, each determined by the viewport size. This would allow the user to read from top to bottom, left to right, across each page.