[ Web Proxy ]
URL:
Viewing: https://developer.mozilla.org/ko/docs/Web/CSS/Reference [Back]  [Original]

CSS - CSS: Cascading Style Sheets | MDN

This page was translated from English by the community. Learn more and join the MDN Web Docs community.

View in English Always switch to English

CSS

CSS CSS , , , CSS @ . CSS CSS . DOM-CSS / CSSOM .

In this article

style-rule ::=
    selectors-list {
      properties-list
    }

... where :

selectors-list ::=
    selector[:pseudo-class] [::pseudo-element]
    [, selectors-list]

properties-list ::=
    [property : value] [; properties-list]

, , . *value* *property* .

css
strong {
  color: red;
}

div.menu-bar li:hover > ul {
  display: block;
}

CSS . . . CSS (ASCII) , DOM-CSS / CSSOM ( ) .

@

@ @ .

: CSS JavaScript .

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

. DOM .

, .

  • *, ns|*, *|*, |*
  • elementname
  • .classname
  • ID #idname
  • [attr=value]

A, B

A B . .

"*A* *B ", "A* *B* ", .

A + B

*A* *B* *B* *A* .

A ~ B

*A* *B* *B* *A* . *B* *A* .

A > B

*B* *A* .

A B

*B* *A* . *B* *A* .

A || B

*B* A . , .

/

:

.

::

HTML .

DOM-CSS / CSSOM


Web Proxy Viewer  |  New URL  |  Original Page