1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Move v3 .hidden note into Migration docs

This commit is contained in:
Chris Rebert 2015-09-23 18:32:10 -07:00
parent eefd1a959e
commit 6f025183d5
2 changed files with 2 additions and 2 deletions

View file

@ -234,7 +234,7 @@ Easily clear `float`s by adding `.clearfix` **to the parent element**. Utilizes
## Hidden content ## Hidden content
Hide any HTML element with the `[hidden]` attribute. Previously, v3.x included a `.hidden` class that forced toggled content. However, we removed it due to conflicts with jQuery's `hide()` function. It's taken from [PureCSS](http://purecss.io). While `[hidden]` isn't natively supported by IE9-10, declaring it `display: none` in our CSS gets around that problem. Hide any HTML element with the `[hidden]` attribute. It's taken from [PureCSS](http://purecss.io). While `[hidden]` isn't natively supported by IE9-10, declaring it `display: none` in our CSS gets around that problem.
Furthermore, `.invisible` can be used to toggle the visibility of an element, meaning its `display` is not modified and the element can still affect the flow of the document. Furthermore, `.invisible` can be used to toggle the visibility of an element, meaning its `display` is not modified and the element can still affect the flow of the document.

View file

@ -179,7 +179,7 @@ Note that the changes to the grid breakpoints in v4 means that you'll need to go
## Misc notes to prioritize ## Misc notes to prioritize
- Removed the `min--moz-device-pixel-ratio` typo hack for retina media queries - Removed the `min--moz-device-pixel-ratio` typo hack for retina media queries
- Dropped `.hidden` and `.show` because it interferes with jQuery's `$(...).hide()`. - Dropped `.hidden` and `.show` because they conflict with jQuery's `$(...).hide()` function.
- Change buttons' `[disabled]` to `:disabled` as IE9+ supports `:disabled`. However `fieldset[disabled]` is still necessary because [native disabled fieldsets are still buggy in IE11](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset#Browser_compatibility). - Change buttons' `[disabled]` to `:disabled` as IE9+ supports `:disabled`. However `fieldset[disabled]` is still necessary because [native disabled fieldsets are still buggy in IE11](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset#Browser_compatibility).
TODO: audit list of stuff in v3 that was marked as deprecated TODO: audit list of stuff in v3 that was marked as deprecated