Skip to content

How to change the vertical alignment #458

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

You must be logged in to vote

Refer to marp-team/marp-core#78 (comment).

position: absolute is suitable to fix the electively element to the top. To disable centering for every contents, try this:

section {
  justify-content: flex-start;
}

This tweak works with default theme and uncover theme.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by SoumayaMauthoorMOJ
Comment options

You must be logged in to vote
0 replies
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