Skip to content

Commit 5b6e888

Browse files
committed
docs: update content
1 parent 707d4fd commit 5b6e888

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/helpers/ratio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Each `.ratio-*` class includes a CSS custom property (or CSS variable) in the se
5353
For example, to create a 2x1 aspect ratio, set `aspect-ratio: 50%` on the `.ratio`.
5454

5555
{{< example class="docs-example-ratios" >}}
56-
<div class="ratio" style="aspect-ratio: 50%;">
56+
<div class="ratio" style="--cui-aspect-ratio: 50%;">
5757
<div>2x1</div>
5858
</div>
5959
{{< /example >}}

0 commit comments

Comments
 (0)