Update carousel.md to document the default aspect ratio of 16/9. (#1617)

This commit is contained in:
John F Morton
2023-10-16 12:35:00 -04:00
committed by GitHub
parent db333e1b81
commit 6ef246c575

View File

@@ -803,7 +803,7 @@ const App = () => (
### Aspect Ratio
Use the `--aspect-ratio` custom property to customize the size of the carousel's viewport.
Use the `--aspect-ratio` custom property to customize the size of the carousel's viewport from the default value of `16/9`.
```html:preview
<sl-carousel class="aspect-ratio" navigation pagination style="--aspect-ratio: 3/2;">