How to manage the export HTML file body background? #183
-
I created my own theme, and import the default theme. When I export a html file, the html body background always be black, so I wonder if I can change the default body background color? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
-
Bye the way, thanks a lot for the beautiful work, we love it. |
Beta Was this translation helpful? Give feedback.
-
UPDATE: The latest Marp CLI v1.5.0 follows the update of the base framework Marpit. It can style the slide container through 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> |
Beta Was this translation helpful? Give feedback.
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):