Pens

Sci-Fi Hologram HUD Laser Button

UI Component bởi acmatvjrus
Mở Studio
<div class="btn-stage">
  <button class="hud-btn">
    <span class="corner c-tl"></span>
    <span class="corner c-tr"></span>
    <span class="corner c-bl"></span>
    <span class="corner c-br"></span>
    <span class="hud-text">SYS_ENGAGE_AI</span>
  </button>
</div>
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #030a08;
  font-family: "Courier New", Courier, monospace;
}
.hud-btn {
  position: relative;
  background: rgba(16, 163, 122, 0.08);
  border: 1px solid rgba(16, 163, 122, 0.3);
  color: #10a37a;
  padding: 18px 48px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 3px;
  cursor: pointer;
  transition: all 0.3s;
}
.hud-btn:hover {
  background: rgba(16, 163, 122, 0.25);
  box-shadow: 0 0 30px rgba(16, 163, 122, 0.4);
  color: #ffffff;
}
.corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: #10a37a;
  border-style: solid;
  transition: all 0.3s;
}
.c-tl { top: -2px; left: -2px; border-width: 2px 0 0 2px; }
.c-tr { top: -2px; right: -2px; border-width: 2px 2px 0 0; }
.c-bl { bottom: -2px; left: -2px; border-width: 0 0 2px 2px; }
.c-br { bottom: -2px; right: -2px; border-width: 0 2px 2px 0; }
.hud-btn:hover .c-tl { top: -6px; left: -6px; border-color: #34d399; }
.hud-btn:hover .c-tr { top: -6px; right: -6px; border-color: #34d399; }
.hud-btn:hover .c-bl { bottom: -6px; left: -6px; border-color: #34d399; }
.hud-btn:hover .c-br { bottom: -6px; right: -6px; border-color: #34d399; }
// Sci-Fi HUD Crosshair animations
Đã sao chép vào bộ nhớ tạm!