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

按钮 · Stupid Fish

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

[hidecontent type="vip1"]
<button class="button">Button</button>

<style>
/* From Uiverse.io by cjnoise  - Tags: blue, button, animated, 3d button */
.button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid #3498db;
  color: #fff;
  background-color: #3498db;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transform: perspective(5px) rotateX(2deg) rotateY(2deg);
  transition: transform 0.3s;
  pointer-events: none;
}

.button:hover::before {
  transform: perspective(5px) rotateX(0) rotateY(0);
}

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