Skip to content
Discussion options

You must be logged in to vote

The background image will set just like the style of the slide page <section style="background-image:url('static/imgs/image.png')" />, so it cannot set as fragmented elements. If you want to mark the image as fragmented, you should avoid using ![bg]() syntax.

Example:

# Title

1. Point 1
1. Point 2
    - [link](http://example.com)
1. Point 3
1. Point 4
    - **With point 4**
    * **Fragment 1**
    * **Fragment 2**
    * **Fragment 3**

<img src="static/imgs/image.png" data-marpit-fragment />

<style scoped>
  img[data-marpit-fragment] {
    display: block;
    position: absolute;
    inset: 0 0 0 auto;
    height: 100%;
    width: 40%;
  }
</style>

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@unode
Comment options

@yhatt
Comment options

Answer selected by unode
@unode
Comment options

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