CSS

[CSS] CSS / Descendant Selector

OOQ 2022. 8. 1. 09:30
728x90
SMALL

#css

#css Descendant Selector

  • A child selector selects elements that are children of a particular element.
  • For example, the following selects blockqoute elements that are children of a div element.
div blockquote
  • At this time, even if there are more elements between div and blockquote, they will be selected. In other words, choose blockquote also when
<div>
  <blockquote>...</blockquote>
</div>
  • Choose blockquote also when:
<div>
  <aside>
    <blockquote>...</blockquote>
  </aside>
</div>

 

 

 

728x90
LIST

'CSS' 카테고리의 다른 글

[CSS] CSS / Sibling Selector  (0) 2022.08.15
[CSS] CSS / Child Selector  (0) 2022.08.14
[CSS] CSS / class selector  (0) 2022.08.01
[CSS] CSS / ID Selector  (0) 2022.07.29
[CSS] CSS / Selector / Attribute Selector  (0) 2022.07.29