CSS/Selektoren/host
Aus SELFHTML-Wiki
CSS | Selektoren
- Syntax
::host
Beispiel
:host {
font-weight: bold;
}
Siehe auch
Weblinks
- CSSWG: 2.2.3. Selecting Into the Light: the :host, :host(), and :host-context() pseudo-classes CSS Scoping Module Level 1
- MDN: ::host