Skip to content

How to manage the export HTML file body background? #183

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

You must be logged in to vote

UPDATE: The latest Marp CLI v1.5.0 follows the update of the base framework Marpit. It can style the slide container through ::backdrop CSS selector.
https://marpit.marp.app/inline-svg?id=backdrop-css-selector

Now you can change the black backdrop via CSS (working in both of theme CSS and Markdown inline style):

<style>
::backdrop {
  background-color: #448;
}
</style>

Replies: 4 comments 1 reply

This comment has been hidden.

This comment has been hidden.

Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by yhatt
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