Layout & CSS Kern A2 · Formale Spezifikation

CSS Positioning

CSS-Positionierung

CSS-Positionierung bestimmt, woran ein Element ausgerichtet wird. Als Referenz dient der normale Textfluss, das Element selbst, ein Vorfahre oder der sichtbare Bereich.

Sieh, wie es funktioniert
Du könntest es nennen CSS Positioningrelativabsolute Positionierung

Sieh, wie es funktioniert

Original bearbeitetes BeispielCSS-Positionierung

Ein weiteres Beispiel

Ein Badge nutzt absolute Positionierung innerhalb eines Avatars. Der Avatar-Wrapper nutzt relative Positionierung.

Hauptteile

  1. 01Outer constraint
  2. 02Content and spacing model
  3. 03Computed size or reflow result

Verwenden Sie es, wenn

Verwenden Sie Positionierung, wenn ein Element einen klaren Punkt oder Bereich hat, an dem es verankert bleiben soll.

Nutze es nicht, wenn

Verwende niemals absolute Positionierung anstelle eines echten responsiven Layouts.

In Code verwendeter Name

position: relative | absolute

Vor dem Ausliefern

Check content order, shared design values, component consistency, contrast, zoom, and layout changes by screen size. Verify every theme, language, and state. If there is motion, offer an equal reduced-motion experience.

Anfrage, die Sie kopieren können

Outcome: Complete the task with CSS-Positionierung (CSS Positioning). User context: Ein Badge nutzt absolute Positionierung innerhalb eines Avatars. Der Avatar-Wrapper nutzt relative Positionierung. Design concept to apply: CSS-Positionierung (CSS Positioning). Why it fits: Verwenden Sie Positionierung, wenn ein Element einen klaren Punkt oder Bereich hat, an dem es verankert bleiben soll. Do not use it when: Verwende niemals absolute Positionierung anstelle eines echten responsiven Layouts. Design requirements: Set the content order, shared design values, and reusable components. Define how the layout changes by screen size and state. Keep useful design choices separate from decoration. Inclusion and resilience: Check contrast, zoom, languages, themes, and reduced motion when needed. Do not use color or effects as the only way to show meaning. Acceptance criteria: The design stays clear on phones and desktops, at zoom, in every theme, and in all supported languages. Interactive states stay clear and consistent. Evidence and limits (evidence boundary): Ein formelles Dokument kann trotzdem ein Entwurf, ein Release Candidate oder die finale Version sein. Prüfe seinen Status und die Browser- oder Plattform-Unterstützung. Unknowns to confirm: Brand limits, amount of content, supported themes and languages, target devices, and design-system rules.

Diese Anfrage prüfen

Review how CSS-Positionierung (CSS Positioning) is used now. Definition: CSS-Positionierung bestimmt, woran ein Element ausgerichtet wird. Als Referenz dient der normale Textfluss, das Element selbst, ein Vorfahre oder der sichtbare Bereich. Release checks: Check content order, shared design values, component consistency, contrast, zoom, and layout changes by screen size. Verify every theme, language, and state. If there is motion, offer an equal reduced-motion experience. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.

A2
Wie offiziell ist dieser Begriff?

Formale Spezifikation

Eine veröffentlichte, versionierte formale Spezifikation definiert diesen Begriff für den gelisteten technischen Bereich.

Ein formelles Dokument kann trotzdem ein Entwurf, ein Release Candidate oder die finale Version sein. Prüfe seinen Status und die Browser- oder Plattform-Unterstützung.

Umfang
Nur das, was die Quelle abdeckt:Kanonischer Name、Definition、Semantik、Implementierung
Dokumentenstatus
Entwurf
Geprüft am
2026-07-30

Beweisquellen & Umfang

Autoritätsquelle + Begriffsreferenz · W3C CSS Working Group · Entwurf CSS Positioned Layout Module Level 3 — Positioning schemes: the position property Positioning schemes: the position property Umfang: Kanonischer Name、Definition、Semantik、Implementierung Rolle hier: Direkte Begriffsreferenz Quelle umfasst: Kanonischer Name, Definition, Semantik, Implementierung Autoritätsquelle · W3C CSS Working Group · Entwurf CSS Positioned Layout Module Level 3 Umfang: Kanonischer Name、Definition、Semantik、Implementierung Rolle hier: Autorität im angegebenen Rahmen Quelle umfasst: Kanonischer Name, Definition, Semantik, Implementierung

Selbst kopieren

Der Browser konnte dies nicht kopieren. Wählen Sie die Anfrage unten aus und kopieren Sie sie selbst.