Skip to content

Absolute positioning of image in reveal.js presentation #1160

Answered by cderv
lg2011 asked this question in Q&A
Discussion options

You must be logged in to vote

You should just be able to use the example in the doc here: https://quarto.org/docs/presentations/revealjs/advanced.html#absolute-position

Here is an adaption using only image

---
title: test
format: revealjs
---

## Cats

![](https://images.pexels.com/photos/617278/pexels-photo-617278.jpeg){.absolute top=200 left=0 width="350" height="300"}

![](https://images.pexels.com/photos/45201/kitty-cat-kitten-pet-45201.jpeg){.absolute top=50 right=50 width="450" height="250"}

![](https://images.pexels.com/photos/104827/cat-pet-animal-domestic-104827.jpeg){.absolute bottom=0 right=50 width="300" height="300"}

What is not working for you ? Can you share more details ? Reproducible example ? Versi…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mcanouil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
revealjs Issues with the revealjs format
2 participants