<div class="container">
<a href="#" class="btn-emboss">PUSH ME</a>
</div>
/* ここはコピーしなくてOK */
.container {
  font-family: "Yu Gothic", YuGothic, Verdana, 'Hiragino Kaku Gothic ProN','Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'メイリオ', Meiryo, sans-serif;
  text-align: center;
  padding-top: 40px;
}


/* ここから下がボタンのCSS */
.btn-emboss {
  display: inline-block;
  max-width: 180px;
  text-align: left;
  background-color: #9ec34b;
  font-size: 16px;
  color: #84a01f;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 24px;
  border-radius: 4px;
  border-bottom: 4px solid #84a01f;
  text-shadow: 1px 1px 1px rgba(255,255,255,0.7); /* ボタンの色が明るめの場合は0.7の数字を大きく、暗めの場合は少なくするとリアルに */
}

.btn-emboss:active {
    transform: translateY(4px);
    border-bottom: none;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.