モダンなフラットボタン(やや影あり、ホバーでふんわり上がる)

HTML
<div class="push-button_box">
  <a href="#" class="push-button modern-flat">ログイン</a>
</div>
CSS
.push-button_box {
  margin: 50px auto;
  width: 100%;
  max-width: 300px;
}
.push-button.modern-flat {
  display: inline-block;
  width: 100%;
  padding: 14px 0;
  background-color: #1a73e8;
  color: white;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.push-button.modern-flat:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

🌟 有料会員限定素材を配布中!

ここでしか手に入らない特別デザイン素材を今すぐチェック!

有料会員ページを見る
目次