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

按钮 · Bright Termite

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

[hidecontent type="vip1"]
<button>
  Hover Me <span>⟶</span>
</button>
<style>
/* From Uiverse.io by mi-series - Tags: button */
button {
  width: 170px;
  height: 60px;
  color: #fff;
  background: #000;
  font-size: 17px;
  text-decoration: none;
  margin: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 0 #000;
  transition: 0.5s;
  position: relative;
}

button:hover {
  box-shadow: 8px 10px 0 #000;
  background: transparent;
  border: 2px solid #000;
  color: #000;
  margin-top: 5px;
}

button span {
  margin-left: 10px;
  width: 0;
  overflow: hidden;
  transition: 0.4s;
}

button:hover span {
  width: 30px;
}
</style>
[/hidecontent]
← 返回首页