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

按钮 · Wet Owl

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

[hidecontent type="vip1"]
<button class="btn">
  Click Me
</button>
<style>
/* From Uiverse.io by SevenAJJY - Tags: button, hover, code, click */
.btn {
  --main-color: #ffce06;
  --main-alt-color: #fff696;
  height: 44px;
  font-size: 16px!important;
  line-height: 44px;
  font-weight: 700;
  color: #3f5cc3;
  text-shadow: 0 1px 1px #fff8c4;
  text-transform: uppercase;
  text-align: center;
  -webkit-box-shadow: rgb(99 121 133 / 14%) 0 0 0 4px;
  box-shadow: rgb(99 121 133 / 14%) 0 0 0 4px;
  border-radius: 4px;
  border: none;
  border-top: 1px solid var(--main-alt-color);
  border-bottom: 1px solid var(--main-color);
  background-color: var(--main-color);
  outline: 0;
  cursor: pointer;
  margin: 0 0 5px 4px;
  padding: 0 20px;
  transition: transform .3s ease;
}

.btn:hover {
  border-top-color: var(--main-alt-color);
  border-bottom-color: var(--main-color);
  background: -webkit-gradient(linear, left top, left bottom, from(#fae811), to(#f5d604));
}

.btn:active {
  transform: scale(0.7);
}

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