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

卡片 · Perfect Rattlesnake

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

[hidecontent type="vip1"]
<div class="card">Hover me</div>
<style>
/* From Uiverse.io by Cornerstone-04 - Tags: card */
.card {
  width: 160px;
  height: 200px;
  background: #ffffff;
  transform: rotate(20deg) skew(-10deg, -5deg);
  transition: .4s linear;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 200px;
}

.card:hover {
  box-shadow: rgba(0,0,0,0.5) 5px 3px,
  rgba(0,0,0,0.4) 10px 6px,
  rgba(0,0,0,0.3) 15px 9px;
  background: #000;
  color: #fff;
  font-size: 1.5rem;
}
</style>
[/hidecontent]
← 返回首页