This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
ngHide documentation could use a little whitespace #10101
Closed
Description
ngHide shows a CSS block withallthewhitespaceremoved:
.ng-hide {
/* this is just another form of hiding an element */
display:block!important;
position:absolute;
top:-9999px;
left:-9999px;
}
With minification tools readily available, we should be writing CSS examples for readability, not for minimization:
.ng-hide {
/* this is just another form of hiding an element */
display: block !important;
position: absolute;
top: -9999px;
left: -9999px;
}
There is another block that looks like this:
.my-element.ng-hide-add, .my-element.ng-hide-remove {
transition:0.5s linear all;
}
which I suggest would read better as:
.my-element.ng-hide-add, .my-element.ng-hide-remove {
transition: 0.5s linear all;
}