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

按钮 · Good Yak

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

[hidecontent type="vip1"]
<button>
  Hover Me
</button>
<style>
/* From Uiverse.io by Dear31 - Tags: simple, button, hover */
button {
  padding: 12px 32px;
  border-radius: 10px;
  border: 3px black solid;
  box-shadow: 2px 2px 1px;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-weight: 700;
  font-size: 17px;
  background-color: #01aaba68;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

button::after {
  content: "";
  position: absolute;
  background-color: #199fab;
  width: 0px;
  height: 0px;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all .3s ease-in;
  z-index: -1;
}

button:hover::after {
  transform-origin: center;
  transition: all .3s ease-in;
  width: 200px;
  height: 200px;
}

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