Skip to content

🙏 possible to rotate (page orientation landscape) to selected page ? 🙏 #551

Answered by yhatt
RobbiNespu asked this question in Q&A
Discussion options

You must be logged in to vote

No. It is not common case changing the screen size in the middle of a presentation. Therefore, Marp does not support changing the slide size in the middle of slides. Only one size, as defined by the theme, is used throughout the presentation.

For rotating just the slide contents, you can use rotate (or transform: rotate()) CSS property. Please note that this is not changing the original slide size.

section[id="2"] {
  rotate: 90deg;
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@RobbiNespu
Comment options

Answer selected by RobbiNespu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants