シンプルボックスデザイン

実線

SAMPLE

COLOR :

HTML

<a href="ここにリンク先" class="nomadBtn1">ここに文字</a>

CSS

<style type="text/css">
.nomadBtn1 {
  color: #323232 !important;
  border: 2px solid #323232;
  border-radius: 5px;
  padding: .7em 2em;
  display: inline-block;
  text-decoration: none !important;
  margin: 15px 0;
}
</style>
まんまる角丸

SAMPLE

COLOR :

HTML

<a href="ここにリンク先" class="nomadBtn2">ここに文字</a>

CSS

<style type="text/css">
.nomadBtn2 {
  color: #FFF !important;
  border-radius: 50em 50em 50em 50em;
  background: #323232;
  padding: .7em 2em;
  display: inline-block;
  text-decoration: none !important;
  margin: 15px 0;
}
</style>
背景色

SAMPLE

COLOR :

HTML

<a href="ここにリンク先" class="nomadBtn3">ここに文字</a>

CSS

<style type="text/css">
.nomadBtn3 {
  background: #323232;
  color:#FFF !important;
  border-radius: 5px;
  padding: .7em 2em;
  display: inline-block;
  text-decoration: none !important;
  margin: 15px 0;
}
</style>
フラットな押し込み

SAMPLE

COLOR :

HTML

<a href="ここにリンク先" class="nomadBtn4">ここに文字</a>

CSS

<style type="text/css">
.nomadBtn4 {
  display: inline-block;
  padding: .5em 2em;
  text-decoration: none !important;
  background: #676767;
  color: #FFF !important;
  border-bottom: solid 3px #323232;
  border-radius: 3px;
  text-decoration: none;
  margin: 15px 0;
}
.nomadBtn4:active {
  /*ボタンを押したときの動作*/
  -webkit-transform: translateY(3px);
  transform: translateY(3px);
  border-bottom: none;
}
</style>
上下グラデーション

SAMPLE

COLOR :

HTML

<a href="ここにリンク先" class="nomadBtn5">ここに文字</a>

CSS

<style type="text/css">
.nomadBtn5 {
  color: #FFF !important;
  border-radius: 5px;
  padding: .7em 2em;
  display: inline-block;
  background: transparent linear-gradient(0deg, rgba(50,50,50) 0%, rgba(50,50,50,.6) 100%) 0% 0% no-repeat padding-box;
  text-decoration: none !important;
  margin: 15px 0;
}
</style>
左右グラデーション

SAMPLE

COLOR :

HTML

<a href="ここにリンク先" class="nomadBtn6">ここに文字</a>

CSS

<style type="text/css">
.nomadBtn6 {
  color: #FFF !important;
  border-radius: 5px;
  padding: .7em 2em;
  display: inline-block;
  background: transparent linear-gradient(90deg, rgba(50,50,50) 0%, rgba(50,50,50,.6)100%) 0% 0% no-repeat padding-box;
  text-decoration: none !important;
  margin: 15px 0;
}
</style>
左右線

SAMPLE

COLOR :

HTML

<a href="ここにリンク先" class="nomadBtn7">ここに文字</a>

CSS

<style type="text/css">
.nomadBtn7 {
  color: #FFF !important;
  padding: .7em 2em;
  display: inline-block;
  background: rgba(39, 39, 39, .7);
  border-left: 2px solid #323232;
  border-right: 2px solid #323232;
  text-decoration: none !important;
  margin: 15px 0;
}
</style>
上下線

SAMPLE

COLOR :

HTML

<a href="ここにリンク先" class="nomadBtn8">ここに文字</a>

CSS

<style type="text/css">
.nomadBtn8 {
  color: #FFF !important;
  padding: .7em 2em;
  display: inline-block;
  background: rgba(39, 39, 39, .7);
  border-top: 2px solid #323232;
  border-bottom: 2px solid #323232;
  text-decoration: none !important;
  margin: 15px 0;
}
</style>

シンプルボックスデザイン

背景色がゆっくり反転する

HTML

<div class="nomadBtn_deco1">
<a href="#">ボタン</a>
</div>

CSS

<style type="text/css">
.nomadBtn_deco1 a {
  display: inline-block;
  max-width: 180px;
  text-align: left;
  border: 2px solid #323232;
  color: #323232;
  text-decoration: none;
  font-weight: bold;
  padding: .8em 2.5em;
  margin: 15px 0;
  border-radius: 4px;
  transition: .4s;
}
.nomadBtn_deco1 a:hover {
  background-color: #323232 !important;
  border-color: #323232;
  color: #FFF;
  opacity: 1 !important;
}
</style>
背景色がゆっくり反転する2

HTML

<div class="nomadBtn_deco2">
<a href="#">ボタン</a>
</div>

CSS

<style type="text/css">
.nomadBtn_deco2 a {
  display: inline-block;
  max-width: 180px;
  text-align: left;
  border: 2px solid #323232;
  color: #FFF;
  background: #323232;
  text-decoration: none;
  font-weight: bold;
  padding: .8em 2.5em;
  border-radius: 4px;
  transition: .4s;
  margin: 15px 0;
}
.nomadBtn_deco2 a:hover {
  background: none;
  color: #323232;
  opacity: 1 !important;
}
</style>
フラットな押し込み

HTML

<div class="nomadBtn_deco5">
<a href="#">ボタン</a>
</div>

CSS

<style type="text/css">
.nomadBtn_deco5 a {
  display: inline-block;
  text-align: center;
  background: #656565;
  color: #FFF;
  text-decoration: none;
  font-weight: bold;
  padding: .8em 2.5em;
  margin: 15px 0;
  border-radius: 4px;
  border-bottom: 4px solid #323232;
}
.nomadBtn_deco5 a:active {
  transform: translateY(4px);
  border-bottom: none;
  background: #323232;
}
.nomadBtn_deco5 a:hover {
  color: #FFF;
}
</style>