
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
@_nu/css-modal
Advanced tools
css vanilla modal component.
$ yarn add @_nu/css-modal
<div tabindex="-1" class="nu_modal">
<button title="mask" class="nu_mask"></button>
<!-- here put the content -->
</div>
为了无障碍可访问性,这边推荐使用 button 标签作为 mask 的标签。
| 选择器 | 功能 |
|---|---|
.nu_modal | 弹窗 |
.nu_mask | 遮罩 |
.nu_modal {
visibility: hidden;
opacity: 0;
transition: opacity 200ms, visibility 200ms;
}
.nu_modal[open] {
visibility: visible;
opacity: 1;
transition: opacity 200ms;
}
<link src="https://cdn.jsdelivr.net/npm/@_nu/css-modal/lib/index.min.css" />
<link src="https://cdn.jsdelivr.net/npm/@_nu/css-modal/lib/_/mask.min.css">
<link src="https://cdn.jsdelivr.net/npm/@_nu/css-modal/lib/_/modal.min.css">
FAQs
nu-system css modal
We found that @_nu/css-modal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.