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

按钮 · Moody Otter

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

[hidecontent type="vip1"]
<button class="button">button</button>
<style>
/* From Uiverse.io by nazarbayev01 - Tags: button, active */
button {
  padding: 1em 2em;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  letter-spacing: 3px;
  background: #DCFFFC;
  text-transform: uppercase;
  color: #088178;
  transition: all 1000ms;
  font-size: 15px;
  position: relative;
  overflow: hidden;
  outline: 2px solid #088178;
}

button:hover {
  color: #DCFFFC;
  transform: scale(1);
  outline: 2px solid #088178;
  box-shadow: 4px 5px 17px -4px #088178;
}

button::before {
  content: "";
  position: absolute;
  left: -50px;
  top: 0;
  width: 0;
  height: 100%;
  background-color: #088178;
  transform: skewX(30deg);
  z-index: -1;
  transition: width 1000ms;
}

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