CSS
[CSS] CSS / Child Selector
OOQ
2022. 8. 14. 10:27
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