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

按钮 · Young Rat

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

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

<style>
/* From Uiverse.io by nishikalewis  - Tags: button */
button {
  background: none;
  color: cyan;
  border: 2px solid cyan;
  padding: 1em 2em;
  font-size: 1em;
  border-radius: 0.5em;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}

button:hover {
  border-color: magenta;
  color: white;
  box-shadow: 0 0.6em 0.6em -0.3em magenta;
  transform: translateY(-0.3em);
}

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