Skip to content

Commit 97525a4

Browse files
committed
docs(ngShow): simplify the CSS transition code
The animation example contains unnecessarily complex CSS animation code in it and the conventions are off. Related angular#12631
1 parent 2af8c62 commit 97525a4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ng/directive/ngShowHide.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,7 @@ var NG_HIDE_IN_PROGRESS_CLASS = 'ng-hide-animate';
125125
background: white;
126126
}
127127
128-
.animate-show.ng-hide-add.ng-hide-add-active,
129-
.animate-show.ng-hide-remove.ng-hide-remove-active {
128+
.animate-show.ng-hide-add, .animate-show.ng-hide-remove {
130129
transition: all linear 0.5s;
131130
}
132131

0 commit comments

Comments
 (0)