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

按钮 · Popular Fish

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

[hidecontent type="vip1"]
<button>
  <span>Button</span>
</button>
<style>
/* From Uiverse.io by PranabKumarSahoo - Tags: button */
button {
  display: inline-block;
  border-radius: 4px;
  background-color: #560af0;
  border: none;
  color: #FFFFFF;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  padding: 16px;
  width: 130px;
  transition: all 0.2s;
  cursor: pointer;
  margin: 5px;
}

button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.2s;
}

button span:after {
  content: '»';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -15px;
  transition: 0.2s;
}

button:hover span {
  padding-right: 15px;
}

button:hover span:after {
  opacity: 1;
  right: 0;
}

button:hover {
  color: #560af0;
  background-color: #FFFFFF;
  box-shadow: 4px 5px 17px -4px #560af0;
}
</style>
[/hidecontent]
← 返回首页