11 lines
335 B
Markdown
11 lines
335 B
Markdown
|
---
|
|||
|
title: Add Id Attributes to Bootstrap Elements
|
|||
|
localeTitle: 将Id属性添加到Bootstrap元素
|
|||
|
---
|
|||
|
回想一下,除了类属性之外,您还可以为每个元素赋予一个id属性。
|
|||
|
|
|||
|
每个id对于特定元素应该是唯一的。请记住,您可以为元素提供如下ID:
|
|||
|
```
|
|||
|
<div class="well" id="center-well">
|
|||
|
|
|||
|
```
|