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

按钮 · Fluffy Bear

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

[hidecontent type="vip1"]
<button class="btn"><span>Button</span></button>
<style>
/* From Uiverse.io by Codecite - Tags: button, hover, btn, hover effect */
.btn {
  border: 0 solid;
  cursor: pointer;
  font-family: system-ui;
  font-size: 100%;
  background: linear-gradient(90deg, blue, red);
  border-radius: 999px;
  font-weight: 900;
  padding: 1.8rem 5rem;
  position: relative;
  text-transform: uppercase;
}

.btn span {
  background: #1e293b;
  border-radius: 999px;
  color: #fff;
  display: grid;
  inset: 5px;
  place-items: center;
  position: absolute;
  transition: background 0.3s;
}

.btn:hover span {
  background: none;
}
</style>
[/hidecontent]
← 返回首页