motionsites中文站 / 按钮 · Moody Lion
按钮 · Moody Lion
aadmin2026-09-19 发布组件0 阅读

按钮 · Moody Lion

类型:组件 · 分类:按钮 · 收录:2026-09-19 · 源码:会员可见

[hidecontent type="vip1"]
<button class="button">
  <div class="light-border">Colorful Shiny</div>
</button>

<style>
/* From Uiverse.io by Deri-Kurniawan  - Tags: button, colorful, btn, hover effect */
.button {
  position: relative;
  cursor: pointer;
  padding: 6px 6px;
  position: relative;
  background: linear-gradient(
    75deg,
    rgba(192, 97, 237, 0.8),
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.4),
    rgba(252, 144, 98, 0.8),
    rgba(252, 144, 98, 0.8),
    rgba(255, 255, 255, 0.4),
    rgba(228, 89, 199, 0.8),
    rgba(255, 255, 255, 0.4),
    rgba(228, 89, 199, 0.8)
  );
  border: 1.5px solid transparent;
  border-radius: 12px;
  inset: 0;
}

.button .light-border {
  padding: 8px 24px;
  border: 0.1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.button:hover {
  filter: contrast(1.2) brightness(1.2);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease-in-out;
}

</style>
    
[/hidecontent]
← 返回首页