返回 slidev
zoom-slide.md
根目录 / docs / features / zoom-slide.md
1 ---
2 relates:
3 - guide/faq#adjust-size
4 - features/canvas-size
5 - features/transform-component
6 tags: [layout]
7 description: |
8 Zoom the content of a slide to a specific scale.
9 ---
10
11 # Zoom Slides
12
13 You may find some slides in your presentation too spacious or too crowded. Slidev provides a `zoom` option for each slide that allows you to scale the content of a slide:
14
15 ```md
16 ---
17 zoom: 0.8
18 ---
19
20 # A Slide with lots of content
21
22 ---
23
24 # Other slides aren't affected
25 ```
26
27 To scale all the slides in your presentation, you can set the slide canvas size:
28
29 <LinkCard link="features/canvas-size" />
30
31 To adjust the size of some elements on your slides, you can use the `Transform` component:
32
33 <LinkCard link="features/transform-component" />
34
34 lines MARKDOWN