웹표준,웹접근성(html, html5, css, css3, javascript, jQuery, jQueryMobile, snecha, senchaTouch, php, mobileWebApp)
38. disabled - 비활성요소 선택자 본문
disabled - 비활성요소 선택자
: 사용 불가능한 요소 선택
ex) 사용할수 없는 input 요소 선택 ( 예 : input:disabled )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30 |
<!DOCTYPE HTML> < html > < head > < meta charset = "utf-8" > < title >:disabled</ title > < style > input[type="text"]:enabled { background:#ffff00; } input[type="text"]:disabled { background:#dddddd; } </ style > </ head > < body > < h1 >:disabled</ h1 > < h3 > 사용 불가능한 요소 선택 </ h3 > < form action = "" > First name: < input type = "text" value = "first name" />< br > Last name: < input type = "text" value = "last mame" />< br > 사용불가 : < input type = "text" disabled = "disabled" value = "etc" />< br > </ form > </ body > </ html > |
'css3 > selector' 카테고리의 다른 글
40. selection - 영역 선택자 (0) | 2013.10.01 |
---|---|
39. not(selector) (0) | 2013.10.01 |
37. enabled (0) | 2013.10.01 |
36. target - 활성요소 선택자 (0) | 2013.10.01 |
35. empty - 빈 요소 선택 (0) | 2013.10.01 |