зеркало из https://github.com/twbs/bootlint.git
Страница:
E040
Страницы
E001
E002
E003
E004
E005
E006
E007
E009
E010
E011
E012
E013
E014
E015
E016
E017
E018
E019
E020
E021
E022
E023
E024
E025
E026
E027
E028
E029
E030
E031
E032
E033
E034
E035
E036
E037
E038
E039
E040
E041
E042
E043
E044 (Missing children within `.input group`)
E044
E045
E046
E047
E048
E049
E050
E051
E052
Home
W001
W002
W003
W004
W005
W006
W007
W008
W009
W010
W012
W013
W014
W015
W016
W017
W018
3
E040
Herst редактировал(а) эту страницу 2018-10-20 11:20:15 +02:00
Note: This check has been removed in Bootlint v1.x.
E040
.hide
should not be used on .modal
in Bootstrap v3.
In Bootstrap v3, modals are hidden by default by virtue of the .modal
class. There is no need to add .hide
to a .modal
, and in fact adding .hide
will interfere with proper showing of the modal, so it should not be done.
.modal.hide
was previously required in old Bootstrap v2, but this is no longer the case in Bootstrap v3. The markup required for modals has changed significantly between v2 and v3, and modal examples for Bootstrap v2 should therefore not be followed when using Bootstrap v3.
Wrong:
<div class="modal hide">
...
</div>
Right:
<div class="modal fade">
...
</div>
Also Right:
<!--Modal without show/hide animation-->
<div class="modal">
...
</div>
Bootlint documentation wiki content is licensed under the CC BY 3.0 License, and based on Bootstrap's docs which are copyright Twitter, Inc.