HomeStylesTemplates
StyleKit
StylesTemplates
  1. Home
  2. /Animations
  3. /Border Beam
Back to Animations

Border Beam

边框光束

A glowing beam travels continuously around the element's border, giving cards, buttons, and inputs a living, techy edge. Adapted from border-beam by Jakub Antalík (MIT).

BackgroundContinuousIntermediate

Preview

Code

Duration

4s

Easing

linear

CSS Properties

background, mask, custom-property

Use Cases

  • 高亮当前激活的卡片或方案
  • AI 输入框 / 搜索框的待命状态
  • 营销页的重点内容强调

Related Animations

border-tracehover-glowbackground-gradient-shift

StyleKit

A curated web design style library to help AI generate better-looking websites.

FeedbackSupport Maintenance
Explore+
StylesTemplatesAnimationsResource LibraryPromptsCollections
Learn+
FoundationsGuideRecipesChangelogBlog
Trust+
AboutContactPrivacyTermsSupport UsRefunds

(c) 2026 StyleKit. Open source project.

闄旾CP澶?025065501鍙?3

Colophon/SK — 2026

Built with the Editorial style

01FeedbackTell us what could work better02Support MaintenanceIf StyleKit helps your workflow, voluntary support helps cover servers, domains, and ongoing upkeep.

StyleKit

A curated web design style library to help AI generate better-looking websites.

GitHub Repository

Explore

StylesTemplatesAnimationsResource LibraryPromptsCollections

Learn

FoundationsGuideRecipesChangelogBlog

Dispatch

Get notified when new styles, templates and tools ship.

Stay Updated

By subscribing, you agree to our Privacy Policy and Terms.

(c) 2026 StyleKit. Open source project.

AboutContactPrivacyTermsSupport UsRefunds/陕ICP备2025065501号-3

StyleKit