My current project involves creating a template for generating PDF files with CSS. I've set up different paper sizes and orientations using @page and media queries in my CSS code. You can check out a snippet of the CSS here.
One challenge I'm facing is how to rotate the content of the PDF by 90 degrees on a vertical page layout without resorting to the landscape class. Is there a CSS-based solution that can help me achieve this rotation for PDF generation? Any advice or suggestions on this matter would be highly appreciated. Thank you!