I would like to weaken UL on ng-show = false. I add this css:
ul {
-webkit-transition: all 2s;
transition: all 2s;
}
.ng-show-remove,
.ng-show-add,
.ng-hide-remove,
.ng-hide-add {
display:block!important;
}
ul.ng-hide {
opacity: .2;
}
But when ng-show is set to false, it just disappears instantly. How to make it disappear, not instantly disappear?
Click on one of them in the fiddle for a demo.
source
share