🍋
Menu
CSS

Selector Combinator

CSS Selector Combinator

Characters that define relationships between selectors: descendant (space), child (>), sibling (+, ~).

기술 세부사항

CSS selector combinator is part of the CSS specification maintained by the W3C CSS Working Group. Browser rendering engines (Blink, WebKit, Gecko) implement the specification through their layout and paint pipeline stages. Understanding the rendering pipeline — Style → Layout → Paint → Composite — is key to writing performant CSS. Properties that trigger layout recalculation (width, height, margin) are more expensive than those that only trigger compositing (transform, opacity).

예시

```css
/* Example: Selector Combinator */
.element {
  /* Apply selector combinator to this element */
  display: block;
  margin: 0 auto;
}
```

관련 도구

관련 용어