カラフルなグラデーションボタン

HTML
<div class="push-button_box">
  <a href="#" class="push-button slice-style">スライスを見る</a>
</div>
CSS
.push-button_box{
  width:30%;
  margin:50px auto;
}

.push-button.slice-style {
  display: block;
  width: 100%;
  padding: 14px 0;
  background: linear-gradient(120deg, #f87171, #fbbf24, #34d399);
  background-size: 200% 100%;
  background-position: left;
  color: white;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.2);
  transition: background-position 0.4s ease;
}

.push-button.slice-style:hover {
  background-position: right;
}

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

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

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