Skip to content

Commit b908661

Browse files
committed
docs: remove the tip class to make the content into the flow
1 parent e2ecb64 commit b908661

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/v2/guide/transitions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,8 +569,6 @@ By default, this will use the transitions specified for entering and leaving. If
569569

570570
and custom JavaScript hooks:
571571

572-
<p class="tip">Both `appear` attribute and `v-on:appear` hook will cause an appear transition. Compared to `appear` attribute, `v-on:appear` hook has a higher priority. If `v-on:appear` hook is specified, using `:appear="false"` does not cancel the transition.</p>
573-
574572
``` html
575573
<transition
576574
appear
@@ -583,6 +581,8 @@ and custom JavaScript hooks:
583581
</transition>
584582
```
585583

584+
In the example above, either `appear` attribute or `v-on:appear` hook will cause an appear transition.
585+
586586
## Transitioning Between Elements
587587

588588
We discuss [transitioning between components](#Transitioning-Between-Components) later, but you can also transition between raw elements using `v-if`/`v-else`. One of the most common two-element transitions is between a list container and a message describing an empty list:

0 commit comments

Comments
 (0)