Insert Gap Divider
The hairline sitting in the gap between two blocks turns into a working control when you reach for it: the rule goes blue and dashed, a plus button springs up at its left end and an Insert block label slides out from behind it.
- lines of CSS
- 64lines of CSS
- dependencies
- 0dependencies
- browser, for years
- Everybrowser, for years
- motion only on interaction
- Hovermotion only on interaction
Vue, Svelte, styled-components and Tailwind exports are part of Pro. HTML, CSS and React are free forever.
.fx-v14-dv-insert-15860 {
width: 246px;
padding: 0.2rem 0;
}
.fx-v14-dv-insert-15860 .row {
padding: 0.5rem 0.7rem;
font-size: 0.78rem;
color: #cbd5e1;
background: #131c31;
border: 1px solid #253049;
border-radius: 0.45rem;
}
.fx-v14-dv-insert-15860 .gap {
position: relative;
display: flex;
align-items: center;
height: 26px;
cursor: copy;
}
.fx-v14-dv-insert-15860 .ln {
position: absolute;
left: 26px;
right: 0;
height: 0;
border-top: 1px solid #1e293b;
transition: border-color 0.25s ease, border-top-style 0.25s ease;
}
.fx-v14-dv-insert-15860 .btn {
position: relative;
width: 18px;
height: 18px;
margin-left: 1px;
border-radius: 50%;
background: #1b2740;
border: 1px solid #2c3d5f;
transform: scale(0.6);
opacity: 0;
transition: transform 0.28s cubic-bezier(0.34, 1.6, 0.64, 1), opacity 0.22s ease, background 0.25s ease;
}
.fx-v14-dv-insert-15860 .btn i {
position: absolute;
left: 50%;
top: 50%;
background: #93c5fd;
border-radius: 1px;
}
.fx-v14-dv-insert-15860 .btn i:nth-child(1) { width: 8px; height: 1.5px; margin: -0.75px 0 0 -4px; }
.fx-v14-dv-insert-15860 .btn i:nth-child(2) { width: 1.5px; height: 8px; margin: -4px 0 0 -0.75px; }
.fx-v14-dv-insert-15860 em {
position: absolute;
left: 28px;
font-style: normal;
font-size: 0.62rem;
letter-spacing: 0.04em;
color: #60a5fa;
background: #0f172a;
padding: 0 6px;
opacity: 0;
transform: translateX(-4px);
transition: opacity 0.25s ease, transform 0.25s ease;
}
.fx-v14-dv-insert-15860 .gap:hover .ln { border-top: 1px dashed #3b82f6; }
.fx-v14-dv-insert-15860 .gap:hover .btn { transform: scale(1); opacity: 1; background: #1e3a8a; }
.fx-v14-dv-insert-15860 .gap:hover em { opacity: 1; transform: translateX(0); }<div class="fx-v14-dv-insert-15860">
<div class="row">Introduction</div>
<div class="gap">
<span class="ln"></span>
<span class="btn">
<i></i>
<i></i>
</span>
<em>Insert block</em>
</div>
<div class="row">Method</div>
</div>What do I do with this?
- Put
insert-gap-divider-15861.cssanywhere your page already loads CSS from — in Next.js that isapp/globals.css, or any stylesheet with a<link>in your HTML. - Then put the class on the element you want it on:
<button class="fx-v14-dv-insert-15860">. The CSS does nothing until a class name in it matches something on the page.
- Link the stylesheet, then paste the markup wherever you need it.
npx hoverlab add insert-gap-divider-15861What's included
- The markup and the stylesheet, in whichever framework you pick
- No runtime dependencies
Works with
- React
- Vue
- Svelte
- Tailwind
- styled-components
- Plain CSS
npx hoverlab add insert-gap-divider-15861
Or over MCP, from your editor's agent — no account needed.
License
Free to read, copy and install, for personal and non-commercial projects. Shipping it in client work or a paid product needs Pro ($79 once). The source lands in your repo and stops being ours — no attribution, nothing to upgrade.
Motion safety
Static estimate, read from the CSS
- Reduced motion
- Brief motion, no guard
Animates briefly or on interaction. Only looping motion gets a guard in this catalog; copy the one from the Insights tab if this ships on a critical path.
- What it animates
- Repaints
Animates
background,border-top-style. No reflow, but the browser repaints every frame, which is fine for one element and costly across many. - Flashing (WCAG 2.3.1)
- No flashing found
No repeating change in opacity, colour or brightness large enough to count as a flash.
- Layout shift (CLS)
- No shift expected
Nothing it animates moves or resizes the box in flow. A category from the CSS, not a measurement for this effect.
Every row is read from the shipped CSS. Only a figure marked measured came from a browser. Customizing the speed changes the timing, so recheck a customized copy. How it is computed
35 more effects in Dividers & Separators
All of them free to read, copy and install — no account, no locked tiles, no watermarked preview. The whole catalog is open, and so are the API and the CLI.
Browse Dividers & SeparatorsShipping one commercially
Copying the code is free. Putting it in client work or a paid product is what Pro is for — the licence, not the access.
- A commercial licence for everything in the catalog
- Unlimited bundle exports, in Vue, Svelte and Tailwind
- One payment — no subscription, nothing to renew
7 variations of Insert Gap Divider
Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.