diff options
| author | Mark Otto <[email protected]> | 2016-05-09 10:25:38 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2016-05-09 10:25:38 -0700 |
| commit | 72d68bac7adafde2e405a223afcedfd1edf9c618 (patch) | |
| tree | 21607c6d356532f532afa31ce9a53bddd380f8ad /docs | |
| parent | 87d3570524eef476e7ab65367dd35444b3fe9671 (diff) | |
| download | bootstrap-72d68bac7adafde2e405a223afcedfd1edf9c618.tar.xz bootstrap-72d68bac7adafde2e405a223afcedfd1edf9c618.zip | |
more options, clearer options, and proper markdown formatting
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/migration.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/migration.md b/docs/migration.md index c7d3f5840..65f40e585 100644 --- a/docs/migration.md +++ b/docs/migration.md @@ -219,7 +219,7 @@ The following variables have been removed in v4.0.0. Use the `media-breakpoint-u The responsive utility classes have also been overhauled. -- The `.hidden` and `.show` classes have been removed because they conflicted with jQuery's `$(...).hide()` and `$(...).show()` methods; you will instead need to use `style="display: none;", `style="display: block;" or `.invisible`. +- The `.hidden` and `.show` classes have been removed because they conflicted with jQuery's `$(...).hide()` and `$(...).show()` methods. Instead, try toggling the `[hidden]` attribute, use inline styles like `style="display: none;"` and `style="display: block;"`, or toggle the `.invisible` class. - The old classes (`.hidden-xs` `.hidden-sm` `.hidden-md` `.hidden-lg` `.visible-xs-block` `.visible-xs-inline` `.visible-xs-inline-block` `.visible-sm-block` `.visible-sm-inline` `.visible-sm-inline-block` `.visible-md-block` `.visible-md-inline` `.visible-md-inline-block` `.visible-lg-block` `.visible-lg-inline` `.visible-lg-inline-block`) are gone. - They have been replaced by `.hidden-xs-up` `.hidden-xs-down` `.hidden-sm-up` `.hidden-sm-down` `.hidden-md-up` `.hidden-md-down` `.hidden-lg-up` `.hidden-lg-down`. - The `.hidden-*-up` classes hide the element when the viewport is at the given breakpoint or larger (e.g. `.hidden-md-up` hides an element on medium, large, and extra-large devices). |
