Skip to content

Commit 8bec697

Browse files
committed
update
1 parent 4e089f3 commit 8bec697

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,17 @@
3333
demo: <http://codepen.io/paddingme/pen/cJGhl>
3434
3535
相关链接:<http://qianduanblog.com/post/css-learning-21-using-html-css-write-an-input-box.html>
36+
37+
38+
2. label 标签的应用
39+
40+
```
41+
<input id="J_MyChk" type="checkbox" value=""><label for="J_MyChk">点击我也可以让左边选中</label>
42+
```
43+
44+
```
45+
<label><input type="checkbox" value="">点击我也可以让左边选中</label>
46+
```
47+
48+
3. `<button type="button">我是一个按钮</button>`
49+

0 commit comments

Comments
 (0)