
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
houdini-dash-border
Advanced tools
Dashed borders in CSS with custom length, gap, and rounded end caps.
| CSS Custom Property Name | Type | Description | Default |
|---|---|---|---|
--border-thickness | number | The thickness of the border drawn, in pixels | 2 |
--border-length | number | The length of a dash, in pixels | 12 |
--border-gap | number | The gap in-between each dash, in pixels | 5 |
--border-dash-cap | round | square | butt | The end cap type for each dash. | round |
--border-color | color | The color of the border. | lightgrey |
🚧 Work in progress.
To turn off dashes, set the --border-gap to 0.
Often you'll want to have a dashed border by default and then on hover change the border to a solid line of a different color:
div {
--border-thickness: 2;
--border-length: 12;
--border-gap: 5;
--border-dash-cap: round;
--border-color: lightgrey;
background: paint(dashed-border);
}
div:hover {
--border-thickness: 3;
--border-length: 100;
--border-gap: 0;
--border-color: #f8e515;
background-color: #ffffef;
cursor: pointer;
}
Currently, only Chrome and Edge support the required Paint API. This will not work in Safari or Firefox.
--border-radius)FAQs
Dashed borders in CSS with custom length, gap, and rounded ends
We found that houdini-dash-border demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.