mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-01-13 08:59:54 +08:00
Since ngShow/ngHide animations add and remove the .ng-hide class, having to remember to write display:block on your own is a hassle and leads to problematic animation code. This fix places a default on the animation for you instead. Closes #3813
23 lines
466 B
CSS
23 lines
466 B
CSS
@charset "UTF-8";
|
|
|
|
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak],
|
|
.ng-cloak, .x-ng-cloak,
|
|
.ng-hide {
|
|
display: none !important;
|
|
}
|
|
|
|
ng\:form {
|
|
display: block;
|
|
}
|
|
|
|
.ng-animate-block-transitions {
|
|
transition:0s all!important;
|
|
-webkit-transition:0s all!important;
|
|
}
|
|
|
|
/* show the element during a show/hide animation when the
|
|
* animation is ongoing, but the .ng-hide class is active */
|
|
.ng-hide-add-active, .ng-hide-remove {
|
|
display: block!important;
|
|
}
|