|
40 | 40 | * restating the styles for the .ng-hide class in CSS:
|
41 | 41 | * ```css
|
42 | 42 | * .ng-hide {
|
43 |
| - * //!annotate CSS Specificity|Not to worry, this will override the AngularJS default... |
| 43 | + * /* this is just another form of hiding an element */ |
44 | 44 | * display:block!important;
|
45 |
| - * |
46 |
| - * //this is just another form of hiding an element |
47 | 45 | * position:absolute;
|
48 | 46 | * top:-9999px;
|
49 | 47 | * left:-9999px;
|
|
70 | 68 | * //
|
71 | 69 | * .my-element.ng-hide-add, .my-element.ng-hide-remove {
|
72 | 70 | * transition:0.5s linear all;
|
73 |
| - * display:block!important; |
74 | 71 | * }
|
75 | 72 | *
|
76 | 73 | * .my-element.ng-hide-add { ... }
|
|
118 | 115 | background:white;
|
119 | 116 | }
|
120 | 117 |
|
121 |
| - .animate-show.ng-hide-add, |
122 |
| - .animate-show.ng-hide-remove { |
123 |
| - display:block!important; |
124 |
| - } |
125 |
| -
|
126 | 118 | .animate-show.ng-hide {
|
127 | 119 | line-height:0;
|
128 | 120 | opacity:0;
|
@@ -200,9 +192,6 @@ var ngShowDirective = ['$animate', function($animate) {
|
200 | 192 | * restating the styles for the .ng-hide class in CSS:
|
201 | 193 | * ```css
|
202 | 194 | * .ng-hide {
|
203 |
| - * //!annotate CSS Specificity|Not to worry, this will override the AngularJS default... |
204 |
| - * display:block!important; |
205 |
| - * |
206 | 195 | * //this is just another form of hiding an element
|
207 | 196 | * position:absolute;
|
208 | 197 | * top:-9999px;
|
@@ -230,7 +219,6 @@ var ngShowDirective = ['$animate', function($animate) {
|
230 | 219 | * //
|
231 | 220 | * .my-element.ng-hide-add, .my-element.ng-hide-remove {
|
232 | 221 | * transition:0.5s linear all;
|
233 |
| - * display:block!important; |
234 | 222 | * }
|
235 | 223 | *
|
236 | 224 | * .my-element.ng-hide-add { ... }
|
@@ -278,11 +266,6 @@ var ngShowDirective = ['$animate', function($animate) {
|
278 | 266 | background:white;
|
279 | 267 | }
|
280 | 268 |
|
281 |
| - .animate-hide.ng-hide-add, |
282 |
| - .animate-hide.ng-hide-remove { |
283 |
| - display:block!important; |
284 |
| - } |
285 |
| -
|
286 | 269 | .animate-hide.ng-hide {
|
287 | 270 | line-height:0;
|
288 | 271 | opacity:0;
|
|
0 commit comments