Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- iframe 태그
- 자식결합자
- i 태그
- RGB
- sup태그
- br 태그
- 인접 형제 결합자
- html
- not 의사클래스
- 일반 형제 결합자
- focus 의사클래스
- html tag i
- iframe
- Live Server
- RGBA
- height속성
- 전체 선택자
- sub태그
- 아두이노
- 임베디드
- Checked 의사 클래스
- id 선택자
- padding 속성
- reveal in file explorer
- background-color 속성
- go live
- html 태그
- css
- width속성
- tag html
Archives
- Today
- Total
so woon!
[의사클래스] disabled 의사 클래스 본문
학습일 : 2022. 09. 05
Disabled 의사 클래스
Disabled 의사 클래스(Pseudo Class)는 어떠한 선택자에 의해 선택된 요소가 비활성화 되어 있는 상태에 대한 선택자이다.
다음과 같이 작성한다. ("는 없는 것으로 한다.)
"선택자":disabled {
"속성" : "속성 값";
"속성" : "속성 값";
"속성" : "속성 값";
}
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<title>Disabled 의사 클래스</title>
<style>
input:disabled {
background-color: black;
}
</style>
</head>
<body>
<input type="text">
<br>
<input disabled type="text">
</body>
</html>
============실행결과===========
'CSS > 개념정리' 카테고리의 다른 글
[의사 클래스] first-of-type 및 nth-of-type, last-of-type 의사 클래스 (0) | 2022.09.07 |
---|---|
[의사 클래스] first-child 및 nth-child, last-child 의사 클래스 (0) | 2022.09.07 |
[의사 클래스] Checked 의사 클래스(Pseudo Class) (0) | 2022.09.06 |
[의사 클래스] Active 및 Hover 의사 클래스 (0) | 2022.09.06 |
[속성] position 및 top, right, bottom, left 속성 (0) | 2022.09.06 |
Comments