. |
.class {color:#fff;} |
Ŭ·¡½º ¼±ÅÃÀÚ |
CSS1 |
# |
.id {color:#fff;} |
¾ÆÀ̵𠼱ÅÃÀÚ |
CSS1 |
* |
* {color:#fff;} |
Àüü ¼±ÅÃÀÚ |
CSS2 |
element |
p {color:#fff;} |
¿ä¼Ò ¼±ÅÃÀÚ |
CSS1 |
element, element |
p, div {color:#fff;} |
±×·ì ¼±ÅÃÀÚ |
CSS1 |
element element |
div p {color:#fff;} |
ÈÄ¼Õ ¼±ÅÃÀÚ |
CSS1 |
element > element |
div > p {color:#fff;} |
ÀÚ½Ä ¼±ÅÃÀÚ |
CSS2 |
element + element |
div + p {color:#fff;} |
ÀÌ¿ô ¼±ÅÃÀÚ |
CSS2 |
element ~ element |
div ~ p {color:#fff;} |
ÇüÁ¦ ¼±ÅÃÀÚ |
CSS3 |
[attribute] |
p [class] {color:#fff;} |
¼Ó¼º ¼±ÅÃÀÚ |
CSS2 |
[attribute=value] |
p [class="white"] {color:#fff;} |
¼Ó¼º ¼±ÅÃÀÚ |
CSS2 |
[attribute~=value] |
p [class~="white"] {color:#fff;} |
¼Ó¼º ¼±ÅÃÀÚ |
CSS2 |
[attribute^=value] |
p [attr^="w"] {color:#fff;} |
¼Ó¼º ¼±ÅÃÀÚ |
CSS3 |
[attribute*=value] |
p [attr*="white"] {color:#fff;} |
¼Ó¼º ¼±ÅÃÀÚ |
CSS3 |
[attribute$=value] |
p [attr$="w"] {color:#fff;} |
¼Ó¼º ¼±ÅÃÀÚ |
CSS3 |
:link |
a:link {color:#fff;} |
¹æ¹®ÇÏÁö ¾ÊÀº ¸µÅ© |
CSS1 |
:visited |
a:visited {color:#fff;} |
¹æ¹®ÇÑ ¸µÅ© |
CSS1 |
:hover |
a:hover {color:#fff;} |
¸¶¿ì½º ¿À¹ö ¸µÅ© |
CSS1 |
:active |
a:active {color:#fff;} |
È°¼ºÈµÈ ¸µÅ© |
CSS1 |
:focus |
a:focus {color:#fff;} |
Æ÷Ä¿½ºµÈ ¸µÅ© |
CSS2 |
:root |
a:root {color:#fff;} |
¹®¼ÀÇ ·çÆ® ¿ä¼Ò |
CSS3 |
:nth-child(n) |
p:nth-child(3) {color:#fff;} |
n¹ø° ½ºÅ¸ÀÏ Àû¿ë |
CSS3 |
:nth-last-child(n) |
p:nth-last-child(n) {color:#fff;} |
³¡¿¡¼ n¹ø° ½ºÅ¸ÀÏ Àû¿ë |
CSS3 |
:nth-of-type(n) |
p:nth-of-type(n) {color:#fff;} |
n¹ø° ½ºÅ¸ÀÏ Àû¿ë |
CSS3 |
:nth-last-of-type(n) |
p:nth-last-of-type(n) {color:#fff;} |
³¡¿¡¼ n¹ø° ½ºÅ¸ÀÏ Àû¿ë |
CSS3 |
::first-letter |
p::first-letter {color:#fff;} |
ù ¹ø° ¹®Àå |
CSS1 |
::first-line |
p::first-line {color:#fff;} |
ù ¹ø° ÁÙ |
CSS1 |
:first-of-type |
p:first-of-type {color:#fff;} |
ù ¹ø° ¿ä¼ÒÀÇ ¼±ÅÃÀÚ |
CSS3 |
:last-of-type |
p:last-of-type {color:#fff;} |
¸¶Áö¸· ¹ø° ¿ä¼ÒÀÇ ¼±ÅÃÀÚ |
CSS3 |
:only-of-type |
p:only-of-type {color:#fff;} |
ÇØ´ç ¿ä¼Ò°¡ À¯ÀÏÇÑ ¿ä¼ÒÀÇ ¼±ÅÃÀÚ |
CSS3 |
:first-child |
p:first-child {color:#fff;} |
ù ¹ø° ÀڽĿä¼Ò |
CSS3 |
:last-child |
p:last-child {color:#fff;} |
¸¶Áö¸· ÀڽĿä¼Ò |
CSS3 |
:only-child |
p:only-child {color:#fff;} |
ÀڽĿä¼Ò°¡ À¯ÀÏÇÏ°Ô ÇϳªÀÏ ¶§ |
CSS3 |
:only-of-child |
p:only-of-child {color:#fff;} |
ÇØ´ç ¿ä¼Ò°¡ À¯ÀÏÇÑ ¿ä¼Ò ÀÏ ¶§ |
CSS3 |
:target |
:target {color:#fff;} |
¿¬°á |
CSS3 |
:enabled |
input[type="text"]:enabled {color:#fff;} |
»ç¿ëÇÒ ¼ö ÀÖ´Â »óÅ |
CSS3 |
:disabled |
input[type="text"]:disabled {color:#fff;} |
»ç¿ëÇÒ ¼ö ¾ø´Â »óÅ |
CSS3 |
:checked |
input:checked {color:#fff;} |
üũµÈ »óÅ |
CSS3 |
:in-range |
input:in-range {color:#fff;} |
ÀÎDz ¿ä¼ÒÀÇ ¶óÀÎÀ» ¼³Á¤ÇÕ´Ï´Ù. |
CSS3 |
:out-of-range |
input:out-of-range {color:#fff;} |
ÀÎDz ¿ä¼ÒÀÇ ¾Æ¿ô¶óÀÎÀ» ¼³Á¤ÇÕ´Ï´Ù. |
CSS3 |
:valid |
input:valid {color:#fff;} |
ÀÎDz ¿ä¼Ò°¡ À¯È¿ÇÒ ¶§ ¼³Á¤µË´Ï´Ù. |
CSS3 |
:invalid |
input:invalid {color:#fff;} |
ÀÎDz ¿ä¼Ò°¡ À¯È¿ÇÏÁö ¾ÊÀ» ¶§ ¼³Á¤µË´Ï´Ù. |
CSS3 |
:optional |
input:optional {color:#fff;} |
ÀÎDz ¿ä¼ÒÀÇ ¿É¼Ç¿¡ ¼³Á¤µË´Ï´Ù. |
CSS3 |
:read-only |
input:read-only {color:#fff;} |
ÀÎDz ¿ä¼Ò¸¦ ÀоúÀ» ¶§ ¼³Á¤µË´Ï´Ù. |
CSS3 |
:read-write |
input:read-write {color:#fff;} |
ÀÎDz ¿ä¼Ò¸¦ ¾µ ¶§ ¼³Á¤µË´Ï´Ù. |
CSS3 |
:input:required |
input:required {color:#fff;} |
ÀÎDz ¿ä¼Ò°¡ Çʼö ÀÏ ¶§ ¼³Á¤µË´Ï´Ù. |
CSS3 |
:lang(language) |
p:lang(it) {color:#fff;} |
¾ð¾î¼³Á¤¿¡ µû¶ó ¼³Á¤µË´Ï´Ù. |
CSS2 |
:empty |
p:empty {color:#fff;} |
ºó »óÅÂ |
CSS3 |
::before |
p::before {content: "content";} |
¿ä¼Ò ¾Õ¿¡ ³»¿ë Ãß°¡ |
CSS3 |
::after |
p::after {content: "content";} |
¿ä¼Ò µÚ¿¡ ³»¿ë Ãß°¡ |
CSS3 |
::selection |
::selection {color:#fff;} |
¸¶¿ì½º·Î ¼±ÅÃÇßÀ» ¶§ |
CSS3 |
:not(seletor) |
:not(p) {color:#fff;} |
Á¦¿ÜÇÑ |
CSS3 |