sticky-and-fixed-elements SKILL.md skillA
sticky-and-fixed-elements from dembrandt/dembrandt-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add dembrandt/dembrandt-skills/sticky-and-fixed-elements@git:20261001.b05848aPins git:20261001.b05848a in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- dembrandt/dembrandt-skills
- Path
skills/sticky-and-fixed-elements/SKILL.md- Versions recorded
- 3
- Latest version
- git:20261001.b05848a, committed Oct 1, 2026
- First version recorded
- Apr 19, 2026
- Size
- 5,549 bytes
- Repository stars
- 183
- License
- MIT
Sticky headers, bottom toolbars, floating action buttons and pinned table headers. Use when deciding what stays on screen while the user scrolls.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Sticky and Fixed Elements
## position: fixed vs position: sticky
| Property | Behaviour | Use for |
|---|---|---|
| `position: fixed` | Removed from document flow. Always stays at the same viewport position regardless of scroll or parent. | Global navigation header, bottom toolbar, floating action button |
| `position: sticky` | Stays in document flow until it hits its scroll threshold, then locks in place. Returns to flow when parent scrolls past. | Table column headers, section headings in a long list, in-page toolbars within a scroll container |
**Prefer `sticky` over `fixed`** when the element belongs to a specific section or scroll context. Fixed elements sit above everything and affect the entire viewport — use them only for truly global UI.
## Top — Navigation Header
The global navigation header is the most common fixed element. It should:
- Remain visible at all times so the user can always navigate away
- Be as thin as possible to maximise content area — 48–64px is a common range
- Have a background and shadow so content scrolling beneath it does not bleed through
- On scroll, a subtle shadow (`--shadow-sm`) signals that content is behind it
```css
.site-header {
…Read the whole file at its exact version.
How to install
mdr add dembrandt/dembrandt-skills/sticky-and-fixed-elements@sha256:c45f6f3fa3e3d1a4The line at the top of this page pins the label git:20261001.b05848a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_vcl2c6yq3rsbi637)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Apr 19, 2026 and Oct 1, 2026, about one every 83 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261001.b05848a latest | 2026-10-01 | b05848a | 5,549 B | A | view · diff |
| git:20260419.db4fb5d | 2026-04-19 | db4fb5d | 5,732 B | A | view · diff |
| git:20260419.c4563c9 | 2026-04-19 | c4563c9 | 5,730 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5549 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
dembrandt/dembrandt-skills · 183 stars · license MIT · pushed 2026-11-01 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_vcl2c6yq3rsbi637 GET https://markdownregistry.com/api/v1/resolve?ref=dembrandt/dembrandt-skills/sticky-and-fixed-elements GET https://markdownregistry.com/api/v1/blob/c45f6f3fa3e3d1a453e993d1122cf1bbd0266f1ff320edbeeb82b254761f5c8f
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.