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

pull/1655/head
John F Morton 2023-10-16 12:35:00 -04:00 zatwierdzone przez GitHub
rodzic db333e1b81
commit 6ef246c575
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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;">