728x90
SMALL
#css
Child Selector (Child Selector)
- A child selector selects the child elements of a particular element.
- For example, the following selects blockqoute among the child elements of the div element.
div > blockquote
- The caveat is that you only select elements that are one step down. In other words, choose blockquote when:
<div>
<blockquote>...</blockquote>
</div>
- Don't choose blockquote if:
<div>
<aside>
<blockquote>...</blockquote>
</aside>
</div>
#css grammar #css basic #css tag #css child selector #child selector #selector #css selector
728x90
LIST
'CSS' 카테고리의 다른 글
[CSS] CSS / Adjacent Sibling Selector (0) | 2022.08.15 |
---|---|
[CSS] CSS / Sibling Selector (0) | 2022.08.15 |
[CSS] CSS / Descendant Selector (0) | 2022.08.01 |
[CSS] CSS / class selector (0) | 2022.08.01 |
[CSS] CSS / ID Selector (0) | 2022.07.29 |