зеркало из https://github.com/twbs/bootlint.git
add page for E023
Родитель
3f8c9d3d32
Коммит
7fa6ccbef6
|
@ -0,0 +1,24 @@
|
|||
# E023
|
||||
## `.panel-body` must have a `.panel` or `.panel-collapse` parent
|
||||
|
||||
A `.panel-body` must be a direct child of its `.panel` or `.panel-collapse`. No levels of intervening elements are permitted between the `.panel-body` and the `.panel` or `.panel-collapse`.
|
||||
|
||||
Wrong:
|
||||
```html
|
||||
<div class="panel panel-default">
|
||||
<div class="my-super-special-wrapper">
|
||||
<div class="panel-body">
|
||||
Basic panel example
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
```
|
||||
|
||||
Right:
|
||||
```html
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
Basic panel example
|
||||
</div>
|
||||
</div>
|
||||
```
|
Загрузка…
Ссылка в новой задаче