Sticky & Fixed Position — Learning Bundle
Haftend & feste Position — Lernpaket
Dieses Lernpaket vergleicht zwei CSS-Positionswerte. sticky bleibt im normalen Fluss, bis es einen festgelegten Punkt in seinem Scroll-Container erreicht. fixed wird gegenüber einem Container mit fester Position platziert. Das Paket ist kein einzelner CSS-Begriff.
Ein weiteres Beispiel
Ein Tabellenkopf bleibt oben in seinem eigenen Scroller. Ein Support-Button bleibt fest in einer Ecke des Viewports.
Hauptteile
- 01Outer constraint
- 02Content and spacing model
- 03Computed size or reflow result
Verwenden Sie es, wenn
Wähle den Wert, dessen Containing Block und Scroll-Verhalten zum gewünschten Ergebnis passen.
Nutze es nicht, wenn
Verdecke niemals Inhalte. Halte sichere Bereiche und Tastaturfokus sichtbar.
In Code verwendeter Name
position: sticky | fixed Vor dem Ausliefern
Check that every member concept has its own name and link. Show all members in the same situation. Give a visible rule for when each one applies and which groups are valid. Never present the bundle as one canonical pattern or as parts that can be swapped freely.
Outcome: Complete the task with Haftend & feste Position — Lernpaket (Sticky & Fixed Position — Learning Bundle). User context: Ein Tabellenkopf bleibt oben in seinem eigenen Scroller. Ein Support-Button bleibt fest in einer Ecke des Viewports. Learning bundle to unpack: Haftend & feste Position — Lernpaket (Sticky & Fixed Position — Learning Bundle). Canonical members: Klebende Position (Sticky Position), Position korrigiert (Fixed Position) Why this comparison helps: Wähle den Wert, dessen Containing Block und Scroll-Verhalten zum gewünschten Ergebnis passen. Do not treat the bundle as one pattern when: Verdecke niemals Inhalte. Halte sichere Bereiche und Tastaturfokus sichtbar. Comparison requirements: Name every member concept on its own. Explain its job and limits. Show every member in the same real situation. Give a visible sign for when to use, combine, or leave out each member. Decision quality: Keep platform and evidence limits clear. Show which members can work together. Point out false matches, unsafe swaps, and cases that need another concept. Acceptance criteria: A reader can explain each member in one sentence and tell them apart in the example. They can defend the chosen member or valid group and open every canonical guide. Evidence and limits (evidence boundary): Dies ist kein normativer Standard. Sein Name, seine Grenzen und erwartetes Verhalten können von einer Quelle zur anderen variieren. Unknowns to confirm: Target platform, decision setting, limits, and evidence needed to use, combine, or leave out members.
Diese Anfrage prüfen
Review how Haftend & feste Position — Lernpaket (Sticky & Fixed Position — Learning Bundle) is used now. Definition: Dieses Lernpaket vergleicht zwei CSS-Positionswerte. sticky bleibt im normalen Fluss, bis es einen festgelegten Punkt in seinem Scroll-Container erreicht. fixed wird gegenüber einem Container mit fester Position platziert. Das Paket ist kein einzelner CSS-Begriff. Release checks: Check that every member concept has its own name and link. Show all members in the same situation. Give a visible rule for when each one applies and which groups are valid. Never present the bundle as one canonical pattern or as parts that can be swapped freely. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.