【PURE CSS】ホバーで動く!シンプル・モノクロ・グラデーションのボタンデザイン50

ホバー時(マウスを乗せたとき)にアニメーションをするCSSのボタン集です。

ただ、ホバー時のアクションなので、スマホからはアニメーションしません(だからと言ってCSSが崩れたりとかはありません)。

CTAの要素としてでもお使いください。

何か疑問点等ありましたらろっこ(@_lokko_4)まで

モノクロでシックなボタン

真ん中から左右に線伸びる

Button

HTML
<a href="#" class="button_h1">button</a>
CSS
.button_h1{
  text-decoration: none;
  color: #545454;
  display: inline-block;
  padding: 1em 2em;
  transition: 0.4s;
  border: 1px solid #545454;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor:pointer;
}
.button_h1:after {
  text-decoration: none;
  color: #545454;
  position: absolute;
  transition: 0.4s;
  content: "";
  width: 0;
  left: 50%;
  bottom: 0;
  height: 2px;
  background: #545454;
}
.button_h1:hover {
  text-decoration: none;
}
.button_h1:hover:after {
  width: 100%;
  left: 0;
}
 
 
左→右→左に線伸びる

Button

HTML
<a href="#" class="button_h2">button</a>
CSS
.button_h2{
  text-decoration: none;
  color: #545454;
  display: inline-block; 
  padding: 1em 2em;
  border: 1px solid #545454;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: 0.4s;
}

.button_h2:after {
  position: absolute;
  transition: 0.4s;
  content: "";
  width: 0;
  bottom: 0;
  height: 2px;
  background: #545454;
  left: 0;
}

.button_h2:hover {
  text-decoration: none;
  color: #545454;
  cursor: pointer;
}
.button_h2:hover:after {
  width: 100%;
  left: 0;
}
 
 
左から右に線伸びる

Button

HTML
<a href="#" class="button_h3">button</a>
CSS
.button_h3{
  text-decoration: none;
  color: #545454;
  display: inline-block;
  
  padding: 1em 2em;
  border: 1px solid #545454;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: 0.4s;
  cursor: pointer;
}

.button_h3:after {
  position: absolute;
  transition: 0.4s;
  content: "";
  width: 0;
  bottom: 0;
  height: 2px;
  background: #545454;
  left: auto;
  right: 0;
}

.button_h3:hover {
  text-decoration: none;
  color: #545454;
}
.button_h3:hover:after {
  width: 100%;
  left: 0;
}
 
 
上から下に線伸びる

Button

HTML
<a href="#" class="button_h4">button</a>
CSS

.button_h4{
  text-decoration: none;
  color: #545454;
  display: inline-block;
  padding: 1em 2em;
  border: 1px solid #545454;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: 0.4s;
  cursor: pointer;
}

.button_h4:after {
  position: absolute;
  transition: 0.4s;
  content: "";
  width: 0;
  bottom: 0;
  height: 1px;
  background: #545454;
  left: 0;
  bottom: auto;
  top: 0px;
  width: 100%;
}

.button_h4:hover {
  text-decoration: none;
  color: #545454;
}

.button_h4:hover:after {
  width: 100%;
  left: 0;
  top: calc(100% - 1px);
}
 
 
全体的に黒くなる

Button

HTML
<a href="#" class="button_h5">button</a>
CSS
.button_h5{
  text-decoration: none;
  display: inline-block;
  color: #545454;
  padding: 1em 2em;
  border: 1px solid #545454;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: 0.4s;
  color: #545454;
  cursor: pointer;
}

.button_h5:after {
  position: absolute;
  transition: 0.4s;
  content: "";
  width: 0;
  left: -10%;
  bottom: 0;
  height: 120%;
  background: #545454;
  transform: skewX(15deg);
  z-index: -100;
}

.button_h5:hover {
  color: #fff;
}

.button_h5:hover:after {
  width: 120%;
  left: -10%;
}
 
 
角が丸くなる

Button

HTML
<a href="#" class="button_h6">button</a>
CSS
.button_h6{
  text-decoration: none;
  color: #545454;
  display: inline-block;
  padding: 1em 2em;
  border: 1px solid #545454;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: 0.4s;
  cursor: pointer;
}

.button_h6:after {
  position: absolute;
  transition: 0.4s;
  content: "";
  height: 2px;
  background: #545454;
}
.button_h6:hover {
  text-decoration: none;
  color: #545454;
  border-radius: 30px;
}
 
 
上下に線がにゅっと出てくる

Button

HTML
<a href="#" class="button_h7">button</a>
CSS
.button_h7 {
  text-decoration: none;
  color: #545454;
  display: inline-block;
  padding: 1em 2em;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 500ms ease;
  cursor: pointer;
}

.button_h7:before {
  position: absolute;
  left: 0px;
  width: 100%;
  height: 2px;
  background: #36383F;
  content: "";
  opacity: 0;
  transition: all 0.3s;
  top: 0px;
  -webkit-transform: translateY(10px);
  transform: translateY(10px);
}

.button_h7:after {
  position: absolute;
  left: 0px;
  width: 100%;
  height: 2px;
  background: #36383F;
  content: "";
  opacity: 0;
  transition: all 0.3s;
  bottom: 0px;
  -webkit-transform: translateY(-10px);
  transform: translateY(-10px);
}

.button_h7:hover:before {
  opacity: 1;
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
}

.button_h7:hover:after {
  opacity: 1;
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
}
 
 
枠線がにゅっと出てくる

Button

HTML
<a href="#" class="button_h8">button</a>
CSS

.button_h8{
  text-decoration: none;
  color: #545454;
  display: inline-block;
  padding: 1em 2em;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: 0.4s;
  cursor: pointer;
}
.button_h8:after {
  position: absolute;
  transition: 0.4s;
  content: "";
  width: 0;
  left: 50%;
  bottom: 0;
  height: 2px;
  background: #545454;
}
.button_h8:hover {
  box-shadow: inset 0px 0px 0px 3px #545454;
  text-decoration: none;
}
 
 
枠線を強調

Button

HTML
<a href="#" class="button_h9">button</a>
CSS

.button_h9{
  text-decoration: none;
  color: #545454;
  display: inline-block;
  padding: 1em 2em;
  border: 1px solid #545454;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: 0.4s;
  cursor: pointer;
}

.button_h9:after {
  position: absolute;
  transition: 0.4s;
  content: "";
  width: 0;
  left: 50%;
  bottom: 0;
  height: 2px;
  background: #545454;
}

.button_h9:hover {
  box-shadow: 0px 0px 0px 3px #545454;
}
 
 
背景色反転&枠線伸びる

Button

HTML
<a href="#" class="button_h10">button</a>
CSS
.button_h10 {
  text-decoration: none;
  display: inline-block;
  padding: 1em 2em;
  color: #545454;
  background: transparent;
  border-width: 1px;
  border-style: solid;
  border-color: #545454;
  position: relative;
  transition: all 0.6s ease-in-out;
  text-align: center;
  cursor: pointer;
}

.button_h10:before,
.button_h10:after{
  content: '';
  display: block;
  position: absolute;
  border-color: #545454;
  box-sizing: border-box;
  border-style: solid;
  width: 1em;
  height: 1em;
  transition: all 0.3s ease-in-out;
}

.button_h10:before{
  top: -6px;
  left: -6px;
  border-width: 2px 0 0 2px;
  z-index: 1;
}

.button_h10:after{
  bottom: -6px;
  right: -6px;
  border-width: 0 2px 2px 0;
  z-index: 1;
}

.button_h10:hover:before,
.button_h10:hover:after {
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  border-color: #545454;
}

.button_h10:hover {
  text-decoration: none;
  color: #fff;
  background-color: #454545;
  border-color: #fff;
  }
 
 

角がまるく、柔らかいボタン

ふわっと浮かんで着色

Button

HTML
<a href="#" class="button_h11">button</a>
CSS
.button_h11{
  text-decoration: none;
  color: #545454;
  display: inline-block;
  padding: 1em 2em;
  background-color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: .4s;
  border-radius: 30px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease 0s;
}

.button_h11:hover {
  text-decoration: none;
  background-color: #ff5722;
  box-shadow: 0px 15px 20px rgba(119, 29, 0, 0.73);
  color: #fff;
  transform: translateY(-7px);
}
 
 
ふわっと浮かんで着色(枠線あり)

Button

HTML
<a href="#" class="button_h12">button</a>
CSS
.button_h12{
  text-decoration: none;
  color: #545454;
  display: inline-block;
  padding: 1em 2em;
  border: 1px solid #9999FF;
  background-color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: .4s;
  border-radius: 30px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease 0s;
  cursor:pointer;
}

.button_h12:hover {
  text-decoration:none;
  background-color: #9999FF;
  box-shadow: 0px 15px 20px rgba(111, 88, 124, 0.9);
  color: #fff;
  transform: translateY(-7px);
}
 
 
中心から光る

Button

HTML
<a href="#" class="button_h13">button</a>
CSS
.button_h13{
  text-decoration: none;
  color: #545454;
  display: inline-block;
  padding: 1em 2em;
  background-color: #454545;
  text-align: center;
  position: relative;
  overflow: hidden;
  position: relative;
  border-radius: 5px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  z-index: 1;
}
.button_h13:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  display: block;
  width: 10px;
  height: 10px;
  margin: 20px auto 0;
  background-color: white;
  border-radius: 10px;
  opacity: 0;
}

.button_h13:hover{
  text-decoration: none;
}

.button_h13:hover:before {
  transform: scale(30);
  transition: .9s;
  animation: pika 0.9s;
}

@keyframes pika {
  0% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
  }
}
 
 
大きくなる

Button

HTML
<a href="#" class="button_h14">button</a>
CSS
.button_h14{
  text-decoration: none;
  color: #545454;
  display: inline-block;
  padding: 1em 2em;
  border: 1px solid #545454;
  border-radius: 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: 2s ease;
  transition: transform 0.5s;
}

.button_h14:hover {
  cursor: pointer;
  transform: scale(1.2);
  text-decoration: none;
}
 
 
縦にグイーンと伸びる

Button

HTML
<a href="#" class="button_h15">button</a>
CSS
.button_h15{
  text-decoration: none;
  color: #545454;
  display: inline-block;
  padding: 1em 2em;
  border: 1px solid #545454;
  border-radius: 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: 2s ease;
  transition: transform 0.5s;
}

.button_h15:hover {
  text-decoration: none;
  color: #545454;
  cursor: pointer;
  transform: scaleY(1.2);
}
 
 
首をかしげるボタン

Button

HTML
<a href="#" class="button_h16">button</a>
CSS
.button_h16{
  text-decoration: none;
  color: #545454;
  display: inline-block;
  
  padding: 1em 2em;
  border: 1px solid #545454;
  border-radius: 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: 2s ease;
  transition: transform 0.5s;
}

.button_h16:hover {
  text-decoration: none;
  color: #545454;
  transform: rotate(10deg);
}
 
 
斜め下にヒュッ

Button

HTML
<a href="#" class="button_h17">button</a>
CSS
.button_h17{
  text-decoration: none;
  color: #545454;
  display: inline-block;
  padding: 1em 2em;
  border: 1px solid #545454;
  border-radius: 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: 2s ease;
  transition: transform 0.5s;
}

.button_h17:hover {
  text-decoration: none;
  color: #545454;
  transform: translate(10px, 10px);
}
 
 
斜めに引っ張られる

Button

HTML
<a href="#" class="button_h18">button</a>
CSS
.button_h18{
  text-decoration: none;
  color: #545454;
  display: inline-block;
  padding: 1em 2em;
  border: 1px solid #545454;
  border-radius: 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: 2s ease;
  transition: transform 0.5s;
}

.button_h18:hover {
  text-decoration: none;
  color: #545454;
  transform: skewX(-20deg);
}
 
 
ゆっくり着色

Button

HTML
<a href="#" class="button_h19">button</a>
CSS
.button_h19{
  text-decoration: none;
  color: #545454;
  display: inline-block;
  padding: 1em 2em;
  border: 1px solid #545454;
  border-radius: 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 1s ease-in;
}

.button_h19:hover {
  text-decoration: none;
  background: #545454;
  color: #fff;
}
 
 
波乗りボタン

Button

HTML
<a href="#" class="button_h20">button</a>
CSS
.button_h20{
  text-decoration: none;
  color: #545454;
  display: inline-block;
  padding: 1em 2em;
  border: 1px solid #545454;
  border-radius: 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: 0.5s;
  z-index: 1;
}

.button_h20:before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  left: 90px;
  top: 100px;
  transform-origin: 38% 50%;
  border-radius: 38%;
  background-color: #36383F;
  z-index: -1;
  transition: all 0.5s linear;
}
.button_h20:after {
  content: "";
  width: 120px;
  height: 120px;
  background-color: #36383F;
  position: absolute;
  right: 20px;
  top: 100px;
  z-index: -1;
  transform-origin: 35% 50%;
  border-radius: 40%;
  transition: all 0.5s linear;
}

.button_h20:hover{
  text-decoration:none;
}

.button_h20:hover:before,
.button_h20:hover:after {
  top: 40px;
  animation: 4s wave infinite linear;
}

@keyframes wave {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0);
  }
}
 
 
貧乏ゆすりみたいにガタガタ

Button

HTML
<a href="#" class="button_h21">button</a>
CSS
.button_h21{
  text-decoration: none;
  color: #545454;
  display: inline-block;
  padding: 1em 2em;
  border: 1px solid #545454;
  border-radius: 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
  
  .button_h21:hover{
  text-decoration: none;
  color: #545454;
  -webkit-animation: buruburu 0.5s linear infinite both;
  animation: buruburu 0.3s linear infinite both;
}

@-webkit-keyframes buruburu {
  0% {
    -webkit-transform: translate(0);
            transform: translate(0);
  }
  20% {
    -webkit-transform: translate(-2px, 2px);
            transform: translate(-2px, 2px);
  }
  40% {
    -webkit-transform: translate(-2px, -2px);
            transform: translate(-2px, -2px);
  }
  60% {
    -webkit-transform: translate(2px, 2px);
            transform: translate(2px, 2px);
  }
  80% {
    -webkit-transform: translate(2px, -2px);
            transform: translate(2px, -2px);
  }
  100% {
    -webkit-transform: translate(0);
            transform: translate(0);
  }
}
@keyframes buruburu {
  0% {
    -webkit-transform: translate(0);
            transform: translate(0);
  }
  20% {
    -webkit-transform: translate(-2px, 2px);
            transform: translate(-2px, 2px);
  }
  40% {
    -webkit-transform: translate(-2px, -2px);
            transform: translate(-2px, -2px);
  }
  60% {
    -webkit-transform: translate(2px, 2px);
            transform: translate(2px, 2px);
  }
  80% {
    -webkit-transform: translate(2px, -2px);
            transform: translate(2px, -2px);
  }
  100% {
    -webkit-transform: translate(0);
            transform: translate(0);
  }
}
 
 
交差が直る

Button

HTML
<a href="#" class="button_h22">button</a>
CSS
.button_h22{
  text-decoration: none;
  color: #545454;
  display: inline-block;
  padding: 1em 2em;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.button_h22:before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border: 1px solid #545454;
  transition: transform 0.5s;
  transform: translate(-9px, -9px);
}
				
.button_h22:after{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border: 1px solid #545454;
  transition: transform 0.5s;
  transform: translate(9px, 9px);	
}

.button_h22:hover{
  text-decoration:none;
}

.button_h22:hover:before,
.button_h22:hover:after{
  transform: translate(0);
}
 
 

グラデーションのボタン

赤からオレンジ

Button

HTML
<a href="#" class="button_h23">button</a>
CSS
.button_h23{
  text-decoration: none;
  color: #545454;
  display: inline-block;
  padding: 1em 2em;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(45deg, #3bade3 0%, #576fe6 25%, #9844b7 51%, #ff357f 100%);
}

.button_h23:hover:after {
  text-decoration:none;
  transform: translateX(-200px);
}
 
 
青から水色

Button

HTML
<a href="#" class="button_h24">button</a>
CSS
.button_h24{
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding: 1em 2em;
  text-align: center;
  transition: 0.5s;
  background-size: 200% auto;
  border-radius: 10px;
  color: white;
  background-image: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
  overflow: hidden;
  cursor: pointer;
}

.button_h24:hover{
  background-position: right;
}
 
 
緑からエメラルドグリーン

Button

HTML
<a href="#" class="button_h25">button</a>
CSS
.button_h25{
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding: 1em 2em;
  text-align: center;
  transition: .5s;
  background-size: 200% auto;
  border-radius: 10px;
  color: white;
  background-image: linear-gradient(to right, #43e97b 0%, #38f9d7 100%);
  overflow: hidden;
  cursor: pointer;
}

.button_h25:hover{
  background-position: right;
}
 
 
紫からピンク

Button

HTML
<a href="#" class="button_h26">button</a>
CSS
.button_h26{
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding: 1em 2em;
  text-align: center;
  transition: .5s;
  background-size: 200% auto;
  border-radius: 10px;
  color: white;
  background-image: linear-gradient(to right, #b8cbb8 0%, #b8cbb8 0%, #b465da 0%, #cf6cc9 33%, #ee609c 66%, #ee609c 100%);
  overflow: hidden;
  cursor: pointer;
}

.button_h26:hover{
  background-position: center right;
}
 
 
グレーから黒色

Button

HTML
<a href="#" class="button_h27">button</a>
CSS
.button_h27{
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding: 1em 2em;
  text-align: center;
  transition: .5s;
  background-size: 200% auto;
  border-radius: 10px;
  color: white;
  background-image: linear-gradient(to right, #434343 0%, black 100%);
  overflow: hidden;
  cursor: pointer;
}

.button_h27:hover{
  background-position: right;
}
 
 
薄いラインがヒュッ

Button

HTML
<a href="#" class="button_h28">button</a>
CSS
.button_h28{
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding: 1em 2em;
  text-align: center;
  transition: 0.5s;
  background-size: 200% auto;
  border-radius: 10px;
  color: white;
  background-image: linear-gradient(to right, #a1c4fd 0%, #c2e9fb 51%, #a1c4fd 100%);
  overflow: hidden;
  cursor: pointer;
}

.button_h28:hover{
  background-position: right;
}
 
 
浮いてる状態から押し付けられる(青)

Button

HTML
<a href="#" class="button_h29">button</a>
CSS
.button_h29{
  text-decoration: none;
  position: relative;
  display: inline-block;
  color: #fff;
  padding: 1em 2em;
  text-align: center;
  background-size: 200% 100%;
  border-radius: 30px;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  background-image: linear-gradient(to right, #0acffe 0%, #495aff 100%);
  box-shadow: 0 5px 20px 0 rgba(74, 175, 229, 0.7);
  overflow: hidden;
  cursor: pointer;
}

.button_h29:hover{
  background-position: 100% 0;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  box-shadow: none;
}

.button_h29:active{
  background-position: 0 100%;
}
 
 
浮いてる状態から押し付けられる(赤)

Button

HTML
<a href="#" class="button_h30">button</a>
CSS
.button_h30{
  text-decoration: none;
  position: relative;
  display: inline-block;
  color: #fff;
  padding: 1em 2em;
  text-align: center;
  background-size: 200% 100%;
  border-radius: 30px;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  background-image: linear-gradient(to right, #fa709a 0%, #fee140 100%);
  box-shadow: 0 5px 20px 0 rgba(233, 101, 74, 0.7);
  overflow: hidden;
  cursor: pointer;
}

.button_h30:hover{
  background-position: 100% 0;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  box-shadow: none;
}

.button_h30:active{
  background-position: 0 100%;
}
 
 
浮いてる状態から押し付けられる(緑)

Button

HTML
<a href="#" class="button_h31">button</a>
CSS
.button_h31{
  text-decoration: none;
  position: relative;
  display: inline-block;
  color: #fff;
  padding: 1em 2em;
  text-align: center;
  background-size: 200% 100%;
  border-radius: 30px;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  background-image: linear-gradient(-225deg, #20E2D7 0%, #F9FEA5 100%);
  box-shadow: 0 5px 20px 0 rgba(124, 191, 51, 0.7);
  overflow: hidden;
  cursor: pointer;
}

.button_h31:hover{
  background-position: 100% 0;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  box-shadow: none;
}

.button_h31:active{
  background-position: 0 100%;
}
 
 
浮いてる状態から押し付けられる(紫)

Button

HTML
<a href="#" class="button_h32">button</a>
CSS
.button_h32{
  text-decoration: none;
  position: relative;
  display: inline-block;
  color: #fff;
  padding: 1em 2em;
  text-align: center;
  background-size: 200% 100%;
  border-radius: 30px;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  background-image: linear-gradient(to right, #c471f5 0%, #fa71cd 100%);
  box-shadow: 0 5px 20px 0 rgba(172, 37, 130, 0.7);
  overflow: hidden;
  cursor: pointer;
}

.button_h32:hover{
  background-position: 100% 0;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  box-shadow: none;
}

.button_h32:active{
  background-position: 0 100%;
}
 
 
浮いてる状態から押し付けられる(黒)

Button

HTML
<a href="#" class="button_h33">button</a>
CSS
.button_h33{
  text-decoration: none;
  position: relative;
  display: inline-block;
  color: #fff;
  padding: 1em 2em;
  text-align: center;
  background-size: 200% 100%;
  border-radius: 30px;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  background-image: linear-gradient(to right, #434343 0%, black 100%);
  box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.7);
  overflow: hidden;
  cursor: pointer;
}

.button_h33:hover{
  background-position: 100% 0;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  box-shadow: none;
}

.button_h33:active{
  background-position: 0 100%;
}
 
 

小さめのシンプルなボタン

ふわっと浮くグラデーション(青)

Button

HTML
<a href="#" class="button_h34">button</a>
CSS
.button_h34{
  position: relative;
  display: inline-block;
  padding: .5em 1.5em;
  border-radius: 5px;
  box-shadow: 0 2px 3px rgba(0,0,0,.5);
  color: #fff;
  background-image: linear-gradient(to right, #0acffe 0%, #495aff 100%);
  text-decoration: none;
  transition: .4s ease-in-out;
  overflow: hidden;
  cursor: pointer;
}

.button_h34:hover{
  box-shadow: 0 15px 20px -5px rgba(0,0,0,.24);
  -webkit-tap-highlight-color: transparent;
}
 
 
ふわっと浮くグラデーション(赤)

Button

HTML
<a href="#" class="button_h35">button</a>
CSS
.button_h35{
  position: relative;
  display: inline-block;
  padding: .5em 1.5em;
  border-radius: 5px;
  box-shadow: 0 2px 3px rgba(0,0,0,.5);
  color: #fff;
  background-image: linear-gradient(to right, #fa709a 0%, #fee140 100%);
  text-decoration: none;
  transition: .4s ease-in-out;
  overflow: hidden;
  cursor: pointer;
}

.button_h35:hover{
  box-shadow: 0 15px 20px -5px rgba(0,0,0,.24);
  -webkit-tap-highlight-color: transparent;
}
 
 
ふわっと浮くグラデーション(緑)

Button

HTML
<a href="#" class="button_h36">button</a>
CSS
.button_h36{
  position: relative;
  display: inline-block;
  padding: .5em 1.5em;
  border-radius: 5px;
  box-shadow: 0 2px 3px rgba(0,0,0,.5);
  color: white;
  background-image: linear-gradient(-225deg, #20E2D7 0%, #F9FEA5 100%);
  text-decoration: none;
  transition: .4s ease-in-out;
  overflow: hidden;
  cursor: pointer;
}

.button_h36:hover{
  box-shadow: 0 15px 20px -5px rgba(0,0,0,.24);
  -webkit-tap-highlight-color: transparent;
}
 
 
ふわっと浮くグラデーション(紫)

Button

HTML
<a href="#" class="button_h37">button</a>
CSS
.button_h37{
  position: relative;
  display: inline-block;
  padding: .5em 1.5em;
  border-radius: 5px;
  box-shadow: 0 2px 3px rgba(0,0,0,.5);
  color: white;
  background-image: linear-gradient(to right, #c471f5 0%, #fa71cd 100%);
  text-decoration: none;
  transition: .4s ease-in-out;
  overflow: hidden;
  cursor: pointer;
}

.button_h37:hover{
  box-shadow: 0 15px 20px -5px rgba(0,0,0,.24);
  -webkit-tap-highlight-color: transparent;
}
 
 
ふわっと浮くグラデーション(黒)

Button

HTML
<a href="#" class="button_h38">button</a>
CSS
.button_h38{
  position: relative;
  display: inline-block;
  padding: .5em 1.5em;
  border-radius: 5px;
  box-shadow: 0 2px 3px rgba(0,0,0,.5);
  color: white;
  background-image: linear-gradient(to right, #434343 0%, black 100%);
  text-decoration: none;
  transition: .4s ease-in-out;
  overflow: hidden;
  cursor: pointer;
}

.button_h38:hover{
  box-shadow: 0 15px 20px -5px rgba(0,0,0,.24);
  -webkit-tap-highlight-color: transparent;
}
 
 
キラッと光るボタン(赤)

Button

HTML
<a href="#" class="button_h39">button</a>
CSS
.button_h39 {
  text-decoration: none;
  position: relative;
  display: inline-block;
  color: #fff;
  border-radius: 5px;
  background-color: red;
  padding: .5em 1.5em;
  box-shadow: 0 5px 20px 0 rgba(233, 101, 74, 0.7);
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  overflow: hidden;
  cursor: pointer;
}

.button_h39:before {
  position: absolute;
  display: inline-block;
  top: 0;
  left: 0;
  content: "";
  height: 100%;
  width: 100%;
  background: -webkit-linear-gradient(hsla(0,0%,100%,.05),hsla(0,0%,100%,.2));
  background: linear-gradient(hsla(0,0%,100%,.05),hsla(0,0%,100%,.2));
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation-name: shiny;
  animation-name: shiny;
  -webkit-animation-duration: 1.5s;
  animation-duration: 2.5s;
  -webkit-animation-timing-function: cubic-beizer(0.17,0.79,0.96,0.25);
  animation-timing-function: cubic-beizer(0.17,0.79,0.96,0.25);
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

@keyframes shiny {
  0% { top: -100px; left: -250px; }
  100% { top: 100%; left: 100%; }
  }

.button_h39:hover{
  background-position: 100% 0;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  box-shadow:none;
}
 
 
キラッと光るボタン(青)

Button

HTML
<a href="#" class="button_h40">button</a>
CSS
.button_h40 {
  text-decoration: none;
  position: relative;
  display: inline-block;
  color: #fff;
  border-radius: 5px;
  background-color: blue;
  padding: .5em 1.5em;
  margin: .5em;
  box-shadow: 0 5px 20px 0 rgba(74, 175, 229, 0.7);
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  overflow: hidden;
  cursor: pointer;
}

.button_h40:before {
  position: absolute;
  display: inline-block;
  top: 0;
  left: 0;
  content: "";
  height: 100%;
  width: 100%;
  background: -webkit-linear-gradient(hsla(0,0%,100%,.05),hsla(0,0%,100%,.2));
  background: linear-gradient(hsla(0,0%,100%,.05),hsla(0,0%,100%,.2));
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation-name: shiny;
  animation-name: shiny;
  -webkit-animation-duration: 1.5s;
  animation-duration: 2.5s;
  -webkit-animation-timing-function: cubic-beizer(0.17,0.79,0.96,0.25);
  animation-timing-function: cubic-beizer(0.17,0.79,0.96,0.25);
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

@keyframes shiny {
  0% { top: -100px; left: -250px; }
  100% { top: 100%; left: 100%; }
  }

.button_h40:hover{
  background-position: 100% 0;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  box-shadow:none;
}
 
 
キラッと光るボタン(緑)

Button

HTML
<a href="#" class="button_h41">button</a>
CSS
.button_h41 {
  text-decoration: none;
  position: relative;
  display: inline-block;
  color: #fff;
  border-radius: 5px;
  background-color: green;
  padding: .5em 1.5em;
  margin: .5em;
  box-shadow: 0 5px 20px 0 rgba(124, 191, 51, 0.7);
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  overflow: hidden;
  cursor: pointer;
}

.button_h41:before {
  position: absolute;
  display: inline-block;
  top: 0;
  left: 0;
  content: "";
  height: 100%;
  width: 100%;
  background: -webkit-linear-gradient(hsla(0,0%,100%,.05),hsla(0,0%,100%,.2));
  background: linear-gradient(hsla(0,0%,100%,.05),hsla(0,0%,100%,.2));
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation-name: shiny;
  animation-name: shiny;
  -webkit-animation-duration: 1.5s;
  animation-duration: 2.5s;
  -webkit-animation-timing-function: cubic-beizer(0.17,0.79,0.96,0.25);
  animation-timing-function: cubic-beizer(0.17,0.79,0.96,0.25);
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

@keyframes shiny {
  0% { top: -100px; left: -250px; }
  100% { top: 100%; left: 100%; }
  }

.button_h41:hover{
  background-position: 100% 0;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  box-shadow:none;
}
 
 
キラッと光るボタン(金)

Button

HTML
<a href="#" class="button_h42">button</a>
CSS
.button_h42 {
  text-decoration: none;
  position: relative;
  display: inline-block;
  color: #fff;
  border-radius: 5px;
  background-color: gold;
  padding: .5em 1.5em;
  margin: .5em;
  box-shadow: 0 5px 20px 0 rgba(255,215,0, 0.7);
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  overflow: hidden;
  cursor: pointer;
}

.button_h42:before {
  position: absolute;
  display: inline-block;
  top: 0;
  left: 0;
  content: "";
  height: 100%;
  width: 100%;
  background: -webkit-linear-gradient(hsla(0,0%,100%,.05),hsla(0,0%,100%,.2));
  background: linear-gradient(hsla(0,0%,100%,.05),hsla(0,0%,100%,.2));
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation-name: shiny;
  animation-name: shiny;
  -webkit-animation-duration: 1.5s;
  animation-duration: 2.5s;
  -webkit-animation-timing-function: cubic-beizer(0.17,0.79,0.96,0.25);
  animation-timing-function: cubic-beizer(0.17,0.79,0.96,0.25);
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

@keyframes shiny {
  0% { top: -100px; left: -250px; }
  100% { top: 100%; left: 100%; }
  }

.button_h42:hover{
  background-position: 100% 0;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  box-shadow:none;
}
 
 
キラッと光るボタン(黒)

Button

HTML
<a href="#" class="button_h43">button</a>
CSS
.button_h43 {
  text-decoration: none;
  position: relative;
  display: inline-block;
  color: #fff;
  border-radius: 5px;
  background-color: black;
  padding: .5em 1.5em;
  margin: .5em;
  box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.7);
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  overflow: hidden;
  cursor: pointer;
}

.button_h43:before {
  position: absolute;
  display: inline-block;
  top: 0;
  left: 0;
  content: "";
  height: 100%;
  width: 100%;
  background: -webkit-linear-gradient(hsla(0,0%,100%,.05),hsla(0,0%,100%,.2));
  background: linear-gradient(hsla(0,0%,100%,.05),hsla(0,0%,100%,.2));
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation-name: shiny;
  animation-name: shiny;
  -webkit-animation-duration: 1.5s;
  animation-duration: 2.5s;
  -webkit-animation-timing-function: cubic-beizer(0.17,0.79,0.96,0.25);
  animation-timing-function: cubic-beizer(0.17,0.79,0.96,0.25);
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

@keyframes shiny {
  0% { top: -100px; left: -250px; }
  100% { top: 100%; left: 100%; }
  }

.button_h43:hover{
  background-position: 100% 0;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  box-shadow:none;
}
 
 

SNS関係のボタン

補色に変わるボタン(Fb)

Button

HTML
<a href="#" class="button_h44">button</a>
CSS
.button_h44{
  text-decoration: none;
  position: relative;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease-in-out;
  background-position: 0px;
  background: linear-gradient(280deg, blue 40px, transparent 30px);
  background-color: #00a9ff;
  color: #fff;
  padding: 10px 50px 10px 20px;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
}

.button_h44:hover{
  background-color: tomato;
}

.button_h44:hover:after {
  color: tomato;
}

.button_h44:after {
  transition: inherit;
  content: "\f39e";
  font-family: "Font Awesome 5 brands";
  font-weight: bold;
  color: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 15px;
}
 
 
補色に変わるボタン(Tw)

Button

HTML
<a href="#" class="button_h45">button</a>
CSS
.button_h45{
  text-decoration:none;
  position: relative;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease-in-out;
  background-position: 0px;
  background: linear-gradient(280deg, #00a9ff 40px, transparent 30px);
  background-color: blue;
  color: #fff;
  padding: 10px 50px 10px 20px;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
}

.button_h45:hover{
  background-color: tomato;
}

.button_h45:hover:after {
  color: tomato;
}

.button_h45:after {
  transition: inherit;
  content: "\f099";
  font-family: "Font Awesome 5 brands";
  font-weight:900;
  color: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
}
 
 
ツートンから単色(Fb)

Facebook

HTML
<a href="#" class="button_h46">button</a>
CSS
.button_h46{
  text-decoration:none;
  position: relative;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease-in-out;
  background-position: 0px;
  background: linear-gradient(270deg, blue 40px, transparent 30px);
  background-color: #00a9ff;
  color: #fff;
  padding: 10px 50px 10px 20px;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
}

.button_h46:hover{
  background-color: blue;
}

.button_h46:after {
  transition: inherit;
  content: "\f39e";
  font-family: "Font Awesome 5 brands";
  font-weight:900;
  color: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 15px;
}
 
 
ツートンから単色(Tw)

Twitter

HTML
<a href="#" class="button_h47">button</a>
CSS
.button_h47{
  text-decoration:none;
  position: relative;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease-in-out;
  background-position: 0px;
  background: linear-gradient(270deg, #00a9ff 40px, transparent 30px);
  background-color: blue;
  color: #fff;
  padding: 10px 50px 10px 20px;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
}

.button_h47:hover{
  background-color: #00a9ff;
}

.button_h47:after {
  transition: inherit;
  content: "\f099";
  font-family: "Font Awesome 5 brands";
  font-weight:900;
  color: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 13px;
}
 
 
枠内着色(Tw)


HTML
<a href="#" class="button_h48">button</a>
CSS
.button_h48{
  text-decoration:none;
  position: relative;
  display: inline-block;
  padding:.5em 4em;
  text-align: center;
  transition:all 0.3s ease-in-out;
  border: 1px solid #00a9ff;
  color: #00a9ff;
  text-transform: uppercase;
  opacity: .65;
  letter-spacing: 1px;
  overflow: hidden;
  cursor: pointer;
}

.button_h48:hover{
  background:#00a9ff;
  color:white;
}
 
 
枠内着色(Fb)


HTML
<a href="#" class="button_h49">button</a>
CSS
.button_h49{
  text-decoration:none;
  position: relative;
  display: inline-block;
  padding:.5em 4em;
  text-align: center;
  transition:all 0.3s ease-in-out;
  border: 1px solid blue;
  color: blue;
  text-transform: uppercase;
  opacity: .65;
  letter-spacing: 1px;
  overflow: hidden;
  cursor: pointer;
}

.button_h49:hover{
  background:blue;
  color:white;
}
 
 
枠内着色(In)

HTML
<a href="#" class="button_h50 button_h50_border"><i class="fab fa-instagram"></i></a>
CSS
.button_h50{
  text-decoration:none;
  position: relative;
  display: inline-block;
  letter-spacing: 1px;
  padding:.5em 4em;
  text-align: center;
  transition:all 0.3s ease-in-out;
  color:#743ad5;
  opacity: .65;
  overflow: hidden;
	cursor: pointer;
  border: 1px solid;
}


.button_h50:hover{
  background-image: linear-gradient(to left, #743ad5, #d53a9d);
  color:white;
}