{# canonical_base is the OWNING tenant's origin: all 16 Peasy domains serve the same catalogue, so a page rendered by a non-owner points its canonical at the owner instead of competing with it. Falls back to this site for static/self-owned pages. #}
🍋
Menu
CSS

Relative Color Syntax

CSS Relative Color Syntax

A syntax for deriving new colors from existing ones by modifying individual channels (e.g. lighten, desaturate).

Teknik Detay

CSS relative color syntax 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).

Ornek

```css
/* Example: Relative Color Syntax */
.element {
  /* Apply relative color syntax to this element */
  display: block;
  margin: 0 auto;
}
```

Ilgili Araclar

Ilgili Terimler