0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

mention the IE compatability for hidden attr per #17169

This commit is contained in:
Mark Otto 2015-08-22 23:17:46 -07:00
parent db87ffb0db
commit cf7819d8d5

View File

@ -233,7 +233,7 @@ Easily clear `float`s by adding `.clearfix` **to the parent element**. Utilizes
## 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).
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]` technically isn't support in IE9-10, declaring it `display: none` in our CSS gets around.
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.