mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-17 03:01:25 +00:00
docs: replace h3
with h2
headings (#1452)
This commit is contained in:
parent
b5c4501903
commit
e2a90005b9
70 changed files with 552 additions and 559 deletions
|
@ -7,61 +7,61 @@ The `AspectRatio` component is useful for constraining fluid content within an a
|
|||
|
||||
Supported aspect ratios include `"2x1"`, `"2x3"`, `"16x9"`, `"4x3"`, `"1x1"`, `"3x4"`, `"3x2"`, `"9x16"` and `"1x2"`.
|
||||
|
||||
### Default (2x1)
|
||||
## Default (2x1)
|
||||
|
||||
<AspectRatio>
|
||||
2x1
|
||||
</AspectRatio>
|
||||
|
||||
### Ratio 2x3
|
||||
## Ratio 2x3
|
||||
|
||||
<AspectRatio ratio="2x3">
|
||||
2x3
|
||||
</AspectRatio>
|
||||
|
||||
### Ratio 16x9
|
||||
## Ratio 16x9
|
||||
|
||||
<AspectRatio ratio="16x9">
|
||||
16x9
|
||||
</AspectRatio>
|
||||
|
||||
### Ratio 4x3
|
||||
## Ratio 4x3
|
||||
|
||||
<AspectRatio ratio="4x3">
|
||||
4x3
|
||||
</AspectRatio>
|
||||
|
||||
### Ratio 1x1
|
||||
## Ratio 1x1
|
||||
|
||||
<AspectRatio ratio="1x1">
|
||||
1x1
|
||||
</AspectRatio>
|
||||
|
||||
### Ratio 3x4
|
||||
## Ratio 3x4
|
||||
|
||||
<AspectRatio ratio="3x4">
|
||||
3x4
|
||||
</AspectRatio>
|
||||
|
||||
### Ratio 3x2
|
||||
## Ratio 3x2
|
||||
|
||||
<AspectRatio ratio="3x2">
|
||||
3x2
|
||||
</AspectRatio>
|
||||
|
||||
### Ratio 9x16
|
||||
## Ratio 9x16
|
||||
|
||||
<AspectRatio ratio="9x16">
|
||||
9x16
|
||||
</AspectRatio>
|
||||
|
||||
### Ratio 1x2
|
||||
## Ratio 1x2
|
||||
|
||||
<AspectRatio ratio="1x2">
|
||||
1x2
|
||||
</AspectRatio>
|
||||
|
||||
### Tile (16x9)
|
||||
## Tile (16x9)
|
||||
|
||||
<AspectRatio ratio="16x9">
|
||||
<Tile style="height: 100%">Content</Tile>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue