You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/presentations/revealjs/index.qmd
+15-3Lines changed: 15 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -337,20 +337,32 @@ Note that one significant disadvantage to tabsets is that only the first tab wil
337
337
338
338
## Slide Backgrounds
339
339
340
-
Slides are contained within a limited portion of the screen by default to allow them to fit any display and scale uniformly. You can apply full page backgrounds outside of the slide area by adding a `background` attribute to your slide headers. Four different types of backgrounds are supported: color, image, video and iframe.
340
+
Slides are contained within a limited portion of the screen by default to allow them to fit any display and scale uniformly. You can apply full page backgrounds outside of the slide area by adding a `background` attribute to your slide headers. Five different types of backgrounds are supported: color, gradient, image, video and iframe.
341
+
342
+
### Color Background
341
343
342
344
All CSS color formats are supported, including hex values, keywords, `rgba()` or `hsl()`. For example:
You can also use various types of media (image, video, or iframe) as your slide background. These options are described below.
349
-
350
350
::: {.callout-tip appearance="simple"}
351
351
Note that if the background color of your media differs from your presentation's theme (e.g. a dark image when using a light theme) then you should also explicitly set the `background-color` so that text on top of the background appears in the correct color (e.g. light text on a dark background).
352
352
:::
353
353
354
+
### Gradient Background
355
+
356
+
{{< include /docs/prerelease/1.6/_pre-release-feature.qmd >}}
357
+
358
+
All CSS gradient formats are supported, including `linear-gradient`, `radial-gradient` and `conic-gradient`.
0 commit comments