motionsites中文站 / 卡片 · Green Goose
卡片 · Green Goose
aadmin2026-09-19 发布组件0 阅读

卡片 · Green Goose

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

[hidecontent type="vip1"]
<div class="card"><p>Card</p></div>

<style>
/* From Uiverse.io by TemRevil  - Tags: simple, animation, action, card */
.card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 190px;
  height: 254px;
  background: #023047;
  color: white;
  font-size: 32px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.1s 0s linear;
  position: relative;
  overflow: hidden;
}
.card:active {
  scale: 0.95;
}
.card::after {
  content: "";
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background-color: #fb8500;
  position: absolute;
  right: 250px;
  transition: right 0.4s 0s linear;
  z-index: 1;
}
.card:hover::after {
  right: -160px;
}
.card:hover {
  color: #023047;
}
.card p {
  position: absolute;
  z-index: 10;
}

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