728x90
SMALL
#CSS
#ID Selector
- The ID selector selects an element that has a specific value as the value of the id attribute. The attribute value is preceded by # to indicate that it is an ID.
- For example, the following makes the element with abc as the id attribute value red.
#abc {
color: red;
}
728x90
LIST
'CSS' 카테고리의 다른 글
[CSS] CSS / Descendant Selector (0) | 2022.08.01 |
---|---|
[CSS] CSS / class selector (0) | 2022.08.01 |
[CSS] CSS / Selector / Attribute Selector (0) | 2022.07.29 |
[CSS] CSS / Selector / Type Selector (0) | 2022.07.29 |
[CSS] CSS / Selector / Universal Selector (0) | 2022.07.29 |