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

按钮 · Tidy Starfish

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

[hidecontent type="vip1"]
<button>
    Hover Me
</button>
<style>
/* From Uiverse.io by sekaiking - Tags: button */
button {
  background-color: white;
  color: black;
  border-radius: 10em;
  font-size: 17px;
  font-weight: 600;
  padding: 1em 2em;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  border: 1px solid black;
  box-shadow: 0 0 0 0 black;
}

button:hover {
  transform: translateY(-4px) translateX(-2px);
  box-shadow: 2px 5px 0 0 black;
};

button:active {
  transform: translateY(2px) translateX(1px);
  box-shadow: 0 0 0 0 black;
};
</style>
[/hidecontent]
← 返回首页