-
I want to insert a small picture in the right-top (the red rect in the following figure) of my slice. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
There are several ways. If you want a one-shot placing of the image, defining simple image style in your slide like following, to put an image with absolute positioning. <style>
img[alt~="top-right"] {
position: absolute;
top: 30px;
right: 30px;
}
</style>
# Your slide
![top-right](https://marp.app/assets/marp.svg)
If you want to put the same image across multiple pages, just like a header image, #200 (comment) might be helpful. |
Beta Was this translation helpful? Give feedback.
-
Awesome. Thank you very much. |
Beta Was this translation helpful? Give feedback.
There are several ways. If you want a one-shot placing of the image, defining simple image style in your slide like following, to put an image with absolute positioning.
top
andright
CSS declarations are meaning position of the image from edge. You can tweak30px
if necessary.