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

按钮 · Slimy Stingray

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

[hidecontent type="vip1"]
<button class="button">
  Button
</button>
<style>
/* From Uiverse.io by eduardo-amaro-maciel - Tags: blue, minimalist, button, hover, border, hover effect, css effect */
.button {
  width: 150px;
  height: 50px;
  border-radius: 50px;
  background-color: transparent;
  border: 2px solid #000814;
  overflow: hidden;
  position: relative;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  transition: 300ms ease;
}

.button::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: #003566;
  top: 100%;
  left: 0;
  transition: 500ms ease;
}

.button:hover {
  color: #fff;
  letter-spacing: 3px;
}

.button:hover::before {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

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