Skip to content

Commit

Permalink
Forgot to edit the config file name
Browse files Browse the repository at this point in the history
  • Loading branch information
MartenBE committed Sep 6, 2024
1 parent c988db4 commit 6e34ea0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/c2.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ You can specify the exact height and width using some HTML magic. Very handy if

<!-- .slide: data-background-image="./img/1920x1080-transparent.png" data-background-size="contain" data-background-repeat="no-repeat" -->

- The HTML width/height sizes are relative to those specified in the `reveal.json` file.
- The HTML width/height sizes are relative to those specified in the `mkslides.yml` file.
- These sizes are called the canvas sizes
- In this example: `1920x1080`.
- E.g.
- an `img` with width `960` will take 50% of the width.
- an `img` with height `540` will take 50% of the height.
- When the browser is resized, Reveal.js wil take care of the scaling so you don't have to. You just do everything relative to the resolution set in `reveal.json`.
- When the browser is resized, Reveal.js wil take care of the scaling so you don't have to. You just do everything relative to the resolution set in `mkslides.yml`.

---

Expand Down

0 comments on commit 6e34ea0

Please sign in to comment.