Feature Icon Card
アイコン付きフィーチャーカード。LP用。
HTML
<div class="feat-card"> <div class="feat-icon">★</div> <div class="feat-title">Fast Deploy</div> <div class="feat-desc">Ship your code in seconds with zero downtime.</div> </div>
CSS
.feat-card {
width: 200px;
padding: 24px;
background: #fff;
border: 1px solid #f0f0f0;
border-radius: 12px;
transition: border-color .3s, transform .3s;
cursor: pointer;
}
.feat-card:hover {
border-color: #ddd;
transform: translateY(-3px);
}
.feat-icon {
width: 36px;
height: 36px;
background: #f5f5f5;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
margin-bottom: 14px;
transition: background .25s;
}
.feat-card:hover .feat-icon { background: #1a1a1a; color: #fff; }
.feat-title {
font-size: 14px;
font-weight: 700;
color: #1a1a1a;
margin-bottom: 4px;
}
.feat-desc {
font-size: 12px;
color: #999;
line-height: 1.5;
}