freeCodeCamp/guide/chinese/certifications/front-end-libraries/bootstrap/add-elements-within-your-bo.../index.md

44 lines
906 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
title: Add Elements within Your Bootstrap Wells
localeTitle: 在Bootstrap Wells中添加元素
---
## 在Bootstrap Wells中添加元素
在最后一次挑战中您已经使用井类创建了一个div此挑战现在要求您在每个井中添加3个按钮元素。
### 暗示
按钮声明如下:
```html
<button></button>
```
### 解
由于我们必须在每个井中声明3个按钮我们将执行以下操作
```html
<div class="container-fluid">
<h3 class="text-primary text-center">jQuery Playground</h3>
<div class="row">
<div class="col-xs-6">
<div class="well">
<button></button>
<button></button>
<button></button>
</div>
</div>
<div class="col-xs-6">
<div class="well">
<button></button>
<button></button>
<button></button>
</div>
</div>
</div>
</div>
```