Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

docs(ngHide): Use proper selector for CSS override #10913

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/ng/directive/ngShowHide.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ var NG_HIDE_IN_PROGRESS_CLASS = 'ng-hide-animate';
*
* By default, the `.ng-hide` class will style the element with `display: none!important`. If you wish to change
* the hide behavior with ngShow/ngHide then this can be achieved by restating the styles for the `.ng-hide`
* class in CSS:
* class (plus a psuedo-selector for animation) in CSS:
*
* ```css
* .ng-hide {
* .ng-hide:not(.ng-hide-animate) {
* /* this is just another form of hiding an element */
* display: block!important;
* position: absolute;
Expand Down