Skip to content

Commit df6447a

Browse files
committed
use transition-discrete in blog post instead of arbitrary property
1 parent 78ad38c commit df6447a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/docs/v4-beta.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,7 @@ The new `starting` variant adds support for the new CSS `@starting-style` featur
11051105
```html
11061106
<div>
11071107
<button popovertarget="my-popover">Check for updates</button>
1108-
<div popover id="my-popover" class="opacity-0 transition-all duration-500 [transition-behavior:allow-discrete] open:opacity-100 starting:open:opacity-0">
1108+
<div popover id="my-popover" class="opacity-0 transition-all duration-500 transition-discrete open:opacity-100 starting:open:opacity-0">
11091109
<!-- ... -->
11101110
</div>
11111111
</div>

0 commit comments

Comments
 (0)