aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2018-05-03 11:02:36 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2018-05-03 11:02:36 +0200
commit042fbde61baa76d2b6241c0ef3c7579b28f6e8c0 (patch)
tree9862232d24e1b83d98adfa51f042c25cc801cace /README.md
parent4ba0d733458408ee666163792c0dc13ebec41ac4 (diff)
downloadperl-software-in-gnu-guix-042fbde61baa76d2b6241c0ef3c7579b28f6e8c0.tar
perl-software-in-gnu-guix-042fbde61baa76d2b6241c0ef3c7579b28f6e8c0.tar.gz
data-background-content-opacity -> data-background-opacity
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 9694d52..9d094a1 100644
--- a/README.md
+++ b/README.md
@@ -630,7 +630,7 @@ By default, background images are resized to cover the full page. Available opti
| data-background-size | cover | See [background-size](https://developer.mozilla.org/docs/Web/CSS/background-size) on MDN. |
| data-background-position | center | See [background-position](https://developer.mozilla.org/docs/Web/CSS/background-position) on MDN. |
| data-background-repeat | no-repeat | See [background-repeat](https://developer.mozilla.org/docs/Web/CSS/background-repeat) on MDN. |
-| data-background-content-opacity | 1 | Opacity of the background image on a 0-1 scale. 0 is transparent and 1 is fully opaque. |
+| data-background-opacity | 1 | Opacity of the background image on a 0-1 scale. 0 is transparent and 1 is fully opaque. |
```html
<section data-background-image="http://example.com/image.png">
<h2>Image</h2>
@@ -649,7 +649,7 @@ Automatically plays a full size video behind the slide.
| data-background-video-loop | false | Flags if the video should play repeatedly. |
| data-background-video-muted | false | Flags if the audio should be muted. |
| data-background-size | cover | Use `cover` for full screen and some cropping or `contain` for letterboxing. |
-| data-background-content-opacity | 1 | Opacity of the background video on a 0-1 scale. 0 is transparent and 1 is fully opaque. |
+| data-background-opacity | 1 | Opacity of the background video on a 0-1 scale. 0 is transparent and 1 is fully opaque. |
```html
<section data-background-video="https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.mp4,https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.webm" data-background-video-loop data-background-video-muted>