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

按钮 · Smart Skunk

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

[hidecontent type="vip1"]
<a href="#" class="ov-btn-slide-left">Izquierda
</a>
<style>
/* From Uiverse.io by Juanes200122 - Tags: simple, animation, button, hover, color, hover effect */
a {
  text-decoration: none;
}

.ov-btn-slide-left {
  background: #fff;
  color: #4741d7;
  border: 2px solid #4741d7;
  padding: 16px 20px;
  border-radius: 3px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: inline-block;
}

.ov-btn-slide-left:hover {
  color: #fff;
}

.ov-btn-slide-left::after {
  content: "";
  background: #4741d7;
  position: absolute;
  z-index: -1;
  padding: 16px 20px;
  display: block;
  top: 0;
  bottom: 0;
  left: -100%;
  right: 100%;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
}

.ov-btn-slide-left:hover::after {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
}
</style>
[/hidecontent]
← 返回首页