Skip to content

Commit b28883a

Browse files
Narretzheathkit
authored andcommitted
docs(guide/animations): fix code block styling
1 parent 2d6c218 commit b28883a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/content/guide/animations.ngdoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,10 +430,12 @@ You can prevent this unwanted behavior by adding CSS to the `.ng-animate` class
430430
for the whole duration of an animation. Simply overwrite the transition / animation duration. In the
431431
case of the spinner, this would be:
432432

433+
```css
433434
.spinner.ng-animate {
434435
transition: 0s none;
435436
animation: 0s none;
436437
}
438+
```
437439

438440
If you do have CSS transitions / animations defined for the animation events, make sure they have higher priority
439441
than any styles that are independent from ngAnimate.

0 commit comments

Comments
 (0)