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

按钮 · Bright Monkey

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

[hidecontent type="vip1"]
<button class="button">
  HOVER ME 🙈
</button>
<style>
/* From Uiverse.io by kevkevkevin - Tags: button, hover, creative, css, css effect, hoverme */
.button {
  border: 2px solid #246bfd;
  color: #101a29;
  line-height: 52px;
  border-radius: 30px;
  font-weight: 600;
  height: 55px;
  overflow: hidden;
  padding: 0 30px;
  position: relative;
  transition: all .5s ease;
  z-index: 0;
}

button:after {
  content: "";
  height: 100%;
  left: -35%;
  position: absolute;
  top: 0;
  background: #246bfd;
  -webkit-transform: skew(30deg);
  transform: skew(30deg);
  -webkit-transform-origin: top left;
  transform-origin: top left;
  transition: all .3s ease-in;
  transition-duration: .6s;
  width: 0;
  z-index: -1;
}

button:hover {
  color: #fff;
  background-color: #ffffff00;
  border-color: #ffffff00;
}

button:hover:after {
  height: 100%;
  width: 135%;
}
</style>
[/hidecontent]
← 返回首页