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

按钮 · Chatty Mule

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

[hidecontent type="vip1"]

<button>
  HOVER ME!
</button>

<style>
/* From Uiverse.io by sheptalo - Tags: button */
button {
  border-style: outset;
  font-weight: 1000;
  height: 50px;
  width: 150px;
  background: inherit;
  border: 7px solid orange;
  transition: all 900ms;
}

button::before {
  content: "";
  z-index: -1;
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0%;
  height: 100%;
  width: 0;
  background-color: yellow;
  transition-timing-function: ease-in;
  transition: all 1.3s;
}

button:hover {
  color: rgb(78, 78, 78);
  border: 2px solid yellow;
  transform: scale(1.2);
}

button:hover::before {
  left: 0%;
  width: 100%;
}
</style>
[/hidecontent]
← 返回首页