Hof Css Z Index logo

Hof Css Z Index

Organization
openreachtech
hof-css-z-index

Convention for the company's CSS z-index: the three layer base values and the calc() notation.

Overview

Publisheropenreachtech
Repositoryhora-skills-ort-furo
Skill namehof-css-z-index
Stars
32
Forks
0
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by openreachtech on GitHub. Read the source before you install it.

Installation

Install the Hof Css Z Index AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-css-z-index
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/openreachtech/hora-skills-ort-furo.git /tmp/hora-skills-ort-furo
mkdir -p .claude/skills
cp -r /tmp/hora-skills-ort-furo/kit/skills/hof-css-z-index .claude/skills/hof-css-z-index
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Hof Css Z Index in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Hof Css Z Index on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Hof Css Z Index is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Frontend: CSS z-index

z-index is managed in three layers. The base values are defined as variables in :root.

css
:root {
  /*
   * z-index layers
   * (max-value: 2147483647)
   */
  --value-z-index-layer-content: 0000000;
  --value-z-index-layer-staying:  1000000;
  --value-z-index-layer-overlay:  2000000;
}
LayerVariableBase valueFor
ground--value-z-index-layer-content0000000Ordinary content
cloud--value-z-index-layer-staying1000000Elements that stay, e.g. Header / Footer / Nav / Sidebar
space--value-z-index-layer-overlay2000000Overlays such as Modals

Always use calc() (even when the right operand is 0)

Always write z-index in the form calc(layer-variable + number). Do not omit the right operand even when it is 0.

css
.modal {
  z-index: calc(var(--value-z-index-layer-overlay) + 0); /* ✅ */
}
css
z-index: calc(var(--value-z-index-layer-staying) + 0); /* ✅ */
z-index: var(--value-z-index-layer-staying);           /* ❌ */

Here we liken this notation to "chapter and verse". The chapter is which layer an element belongs to (the layer variable), and the verse is its ordering within that chapter (the right operand).

  • Chapter:
    var(--value-z-index-layer-content)
    var(--value-z-index-layer-staying)
    var(--value-z-index-layer-overlay)
  • Verse:
    + 0
    + 1
    + 2

Always keeping the same notation shows later workers how to use --value-z-index-layer-* — that is, the convention itself. The existing styles become the example, so whoever writes z-index next can follow the same shape without hesitation. As a secondary benefit, it also keeps diffs small when making changes.

Within the same layer, stack in steps of 1000

When you want elements within the same layer to stack over one another, increase the right operand (the verse) of calc() in steps of thousands. When writing the verse, always keep the thousands place in mind: leave room by writing + 0, + 1000, + 2000. Even when you write + 0, read that 0 not as the ones place but as "a thousands place still left open".

css
.header {
  z-index: calc(var(--value-z-index-layer-staying) + 0);
}

.sidebar {
  z-index: calc(var(--value-z-index-layer-staying) + 1000);
}

.more-bar {
  z-index: calc(var(--value-z-index-layer-staying) + 2000);
}

Reason: when you later need to insert an element between two levels, it is easier to insert between 1000 and 2000 than between 1 and 2.

Frequently asked questions

What does the Hof Css Z Index AI skill do?

Convention for the company's CSS z-index: the three layer base values and the calc() notation.

Why use Hof Css Z Index on TypingMind?

Because you install it once and use it with any model. Hof Css Z Index is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Hof Css Z Index in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-css-z-index. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Hof Css Z Index?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Hof Css Z Index?

As many as you like. As long as a model supports skills, you can use Hof Css Z Index with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Hof Css Z Index AI skill free?

Yes. It is published on GitHub by openreachtech under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇