Double Border
A copy-paste borders & outlines component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
Borders & OutlinesHTMLCSSany framework
Double Border
Copy into your project
HTML
<div class="nuda-bdx-double">
<div class="nuda-bdx-double__inner">
<span class="nuda-bdx-double__label">Double Border</span>
</div>
</div>CSS
.nuda-bdx-double {
background: #141414;
border: 2px solid rgba(255,255,255,.18);
border-radius: 14px;
padding: 5px;
display: inline-block;
}
.nuda-bdx-double__inner {
border: 1px solid rgba(228,255,84,.4);
border-radius: 10px;
padding: 16px 28px;
background: linear-gradient(135deg,rgba(228,255,84,.04) 0%,transparent 60%);
}
.nuda-bdx-double__label {
color: #fafafa;
font-size: .85rem;
font-weight: 500;
display: block;
text-align: center;
}
How to use Double Border
Paste the HTML where you need it and the CSS into a global stylesheet (or a <style> tag). Every class is prefixed nuda- so it never collides with Tailwind or your own styles. Tweak the CSS custom properties to match your design system.
Works in React, Vue, Svelte, Astro, Next.js, Nuxt, Laravel Blade, Django, Rails — or a single .html file. No npm install, no build step.