Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit d2963ad

Browse files
ahmednuamanmatsko
authored andcommitted
docs(guide): fixes to ngShow/ngHide animations
1 parent e18db78 commit d2963ad

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

docs/content/guide/animations.ngdoc

+2-11
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,14 @@ Below is a quick example of animations being enabled for `ngShow` and `ngHide`:
3333
background:white;
3434
}
3535

36-
.sample-show-hide.ng-hide-add, .sample-show-hide.ng-hide-remove {
36+
.sample-show-hide {
3737
-webkit-transition:all linear 0.5s;
38-
-moz-transition:all linear 0.5s;
39-
-o-transition:all linear 0.5s;
4038
transition:all linear 0.5s;
41-
display:block!important;
4239
}
4340

44-
.sample-show-hide.ng-hide-add.ng-hide-add-active,
45-
.sample-show-hide.ng-hide-remove {
41+
.sample-show-hide.ng-hide {
4642
opacity:0;
4743
}
48-
49-
.sample-show-hide.ng-hide-add,
50-
.sample-show-hide.ng-hide-remove.ng-hide-remove-active {
51-
opacity:1;
52-
}
5344
</file>
5445
</example>
5546

0 commit comments

Comments
 (0)