kopia lustrzana https://github.com/shoelace-style/shoelace
Update carousel.md to document the default aspect ratio of 16/9. (#1617)
rodzic
db333e1b81
commit
6ef246c575
|
@ -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;">
|
||||
|
|
Ładowanie…
Reference in New Issue