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

按钮 · Cowardly Treefrog

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

[hidecontent type="vip1"]
<div class="button-container">
  <button class="styled-button">Join Today <span class="arrow">→</span></button>
</div>

<style>
/* From Uiverse.io by aryansagar2405  - Tags: button */
body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #f5f0ff;
  margin: 0;
  font-family: Arial, sans-serif;
}

.button-container {
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.styled-button {
  background: linear-gradient(145deg, #c77dff, #9a49f0);
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 15px 40px;
  font-size: 1.2em;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
  transform: rotateY(-5deg) rotateX(2deg);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
}

.styled-button .arrow {
  font-size: 1.2em;
  margin-left: 10px;
}

.styled-button:hover {
  transform: rotateY(-5deg) rotateX(2deg) translateY(-5px);
  box-shadow: 0px 12px 20px rgba(0, 0, 0, 0.4);
}

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