티스토리 뷰
<!DOCTYPE html> <html> <head> <meta charset="EUC-KR"> <title>Insert title here</title> <style> input:enabled { background-color: white; } input:disabled { background-color: gray; } input:focus { background-color: papayawhip } </style> </head> <body> <h2>활성화</h2> <input type="text" /> <h2>비활성화</h2> <input type="text" disabled="disabled" /> </body> </html>
'java,web study > 5주차 (7월 29일~8월 4일)' 카테고리의 다른 글
선택자 예제 (33페이지 예제) (0) | 2013.07.31 |
---|---|
특정 요소에 스타일 입히기 (26페이지 예제) (0) | 2013.07.31 |
a 태그 예제 (20페이지 예제) (0) | 2013.07.31 |
클래스선택자 (16페이지 예제) (0) | 2013.07.31 |
ERP 개발 계획(간트차트) (0) | 2013.07.29 |
댓글