実線
SAMPLE
COLOR :
0
コードを表示
HTML
<a href="ここにリンク先" class="nomadBtn1">ここに文字</a>
CSS
.nomadBtn1 {
color: #323232;
border: 2px solid #323232;
border-radius: 5px;
padding: .7em 2em;
display: inline-block;
text-decoration: none;
}
.nomadBtn1 {
color: #55A8DC;
border: 2px solid #55A8DC;
border-radius: 5px;
padding: .7em 2em;
display: inline-block;
text-decoration: none;
}
.nomadBtn1 {
color: #E07487;
border: 2px solid #E07487;
border-radius: 5px;
padding: .7em 2em;
display: inline-block;
text-decoration: none;
}
.nomadBtn1 {
color: #5E8B6D;
border: 2px solid #5E8B6D;
border-radius: 5px;
padding: .7em 2em;
display: inline-block;
text-decoration: none;
}
.nomadBtn1 {
color: #7B86C6;
border: 2px solid #7B86C6;
border-radius: 5px;
padding: .7em 2em;
display: inline-block;
text-decoration: none;
}
まんまる角丸
SAMPLE
COLOR :
0
コードを表示
HTML
<a href="ここにリンク先" class="nomadBtn2">ここに文字</a>
CSS
.nomadBtn2 {
color: #FFF;
border-radius: 50em 50em 50em 50em;
background: #323232;
padding: .7em 2em;
display: inline-block;
text-decoration: none;
}
.nomadBtn2 {
color: #FFF;
border-radius: 50em 50em 50em 50em;
background: #55A8DC;
padding: .7em 2em;
display: inline-block;
text-decoration: none;
}
.nomadBtn2 {
color: #FFF;
border-radius: 50em 50em 50em 50em;
background: #E07487;
padding: .7em 2em;
display: inline-block;
text-decoration: none;
}
.nomadBtn2 {
color: #FFF;
border-radius: 50em 50em 50em 50em;
background: #5E8B6D;
padding: .7em 2em;
display: inline-block;
text-decoration: none;
}
.nomadBtn2 {
color: #FFF;
border-radius: 50em 50em 50em 50em;
background: #7B86C6;
padding: .7em 2em;
display: inline-block;
text-decoration: none;
}
背景色
SAMPLE
COLOR :
0
コードを表示
HTML
<a href="ここにリンク先" class="nomadBtn3">ここに文字</a>
CSS
.nomadBtn3 {
background: #323232;
color:#FFF;
border-radius: 5px;
padding: .7em 2em;
display: inline-block;
text-decoration: none;
}
.nomadBtn3 {
background: #55A8DC;
color:#FFF;
border-radius: 5px;
padding: .7em 2em;
display: inline-block;
text-decoration: none;
}
.nomadBtn3 {
background: #E07487;
color:#FFF;
border-radius: 5px;
padding: .7em 2em;
display: inline-block;
text-decoration: none;
}
.nomadBtn3 {
background: #5E8B6D;
color:#FFF;
border-radius: 5px;
padding: .7em 2em;
display: inline-block;
text-decoration: none;
}
.nomadBtn3 {
background: #7B86C6;
color:#FFF;
border-radius: 5px;
padding: .7em 2em;
display: inline-block;
text-decoration: none;
}
フラットな押し込み
SAMPLE
COLOR :
0
コードを表示
HTML
<a href="ここにリンク先" class="nomadBtn4">ここに文字</a>
CSS
.nomadBtn4 { display: inline-block; padding: .5em 2em; text-decoration: none; background: #676767; color: #FFF; border-bottom: solid 3px #323232; border-radius: 3px; text-decoration: none; } .nomadBtn4:active { /*ボタンを押したときの動作*/ -webkit-transform: translateY(3px); transform: translateY(3px); border-bottom: none; }
.nomadBtn4 { display: inline-block; padding: .5em 2em; text-decoration: none; background: #55A8DC; color: #FFF; border-bottom: solid 3px #306DB2; border-radius: 3px; text-decoration: none; } .nomadBtn4:active { /*ボタンを押したときの動作*/ -webkit-transform: translateY(3px); transform: translateY(3px); border-bottom: none; }
.nomadBtn4 { display: inline-block; padding: .5em 2em; text-decoration: none; background: #E07487; color: #FFF; border-bottom: solid 3px #B12D41; border-radius: 3px; text-decoration: none; } .nomadBtn4:active { /*ボタンを押したときの動作*/ -webkit-transform: translateY(3px); transform: translateY(3px); border-bottom: none; }
.nomadBtn4 { display: inline-block; padding: .5em 2em; text-decoration: none; background: #5E8B6D; color: #FFF; border-bottom: solid 3px #426A4F; border-radius: 3px; text-decoration: none; } .nomadBtn4:active { /*ボタンを押したときの動作*/ -webkit-transform: translateY(3px); transform: translateY(3px); border-bottom: none; }
.nomadBtn4 { display: inline-block; padding: .5em 2em; text-decoration: none; background: #7B86C6; color: #FFF; border-bottom: solid 3px #1A212F; border-radius: 3px; text-decoration: none; } .nomadBtn4:active { /*ボタンを押したときの動作*/ -webkit-transform: translateY(3px); transform: translateY(3px); border-bottom: none; }
上下グラデーション
SAMPLE
COLOR :
0
コードを表示
HTML
<a href="ここにリンク先" class="nomadBtn5">ここに文字</a>
CSS
.nomadBtn5 {
color: #FFF;
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;
}
.nomadBtn5 {
color: #FFF;
border-radius: 5px;
padding: .7em 2em;
display: inline-block;
background: transparent linear-gradient(0deg, rgba(85,168,220) 0%, rgba(85,168,220,.6) 100%) 0% 0% no-repeat padding-box;
text-decoration: none;
}
.nomadBtn5 {
color: #FFF;
border-radius: 5px;
padding: .7em 2em;
display: inline-block;
background: transparent linear-gradient(0deg, rgba(224,116,135) 0%, rgba(224,116,135,.6) 100%) 0% 0% no-repeat padding-box;
text-decoration: none;
}
.nomadBtn5 {
color: #FFF;
border-radius: 5px;
padding: .7em 2em;
display: inline-block;
background: transparent linear-gradient(0deg, rgba(94,139,109) 0%, rgba(94,139,109,.6) 100%) 0% 0% no-repeat padding-box;
text-decoration: none;
}
.nomadBtn5 {
color: #FFF;
border-radius: 5px;
padding: .7em 2em;
display: inline-block;
background: transparent linear-gradient(0deg, rgba(123,134,198) 0%, rgba(123,134,198,.6) 100%) 0% 0% no-repeat padding-box;
text-decoration: none;
}
左右グラデーション
SAMPLE
COLOR :
0
コードを表示
HTML
<a href="ここにリンク先" class="nomadBtn6">ここに文字</a>
CSS
.nomadBtn6 {
color: #FFF;
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;
}
.nomadBtn6 {
color: #FFF;
border-radius: 5px;
padding: .7em 2em;
display: inline-block;
background: transparent linear-gradient(90deg, rgba(85,168,220) 0%, rgba(85,168,220,.6)100%) 0% 0% no-repeat padding-box;
text-decoration: none;
}
.nomadBtn6 {
color: #FFF;
border-radius: 5px;
padding: .7em 2em;
display: inline-block;
background: transparent linear-gradient(90deg, rgba(224,116,135) 0%, rgba(224,116,135,.6)100%) 0% 0% no-repeat padding-box;
text-decoration: none;
}
.nomadBtn6 {
color: #FFF;
border-radius: 5px;
padding: .7em 2em;
display: inline-block;
background: transparent linear-gradient(90deg, rgba(94,139,109) 0%, rgba(94,139,109,.6)100%) 0% 0% no-repeat padding-box;
text-decoration: none;
}
.nomadBtn6 {
color: #FFF;
border-radius: 5px;
padding: .7em 2em;
display: inline-block;
background: transparent linear-gradient(90deg, rgba(123,134,198) 0%, rgba(123,134,198,.6)100%) 0% 0% no-repeat padding-box;
text-decoration: none;
}
左右線
SAMPLE
COLOR :
0
コードを表示
HTML
<a href="ここにリンク先" class="nomadBtn7">ここに文字</a>
CSS
.nomadBtn7 {
color: #FFF;
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;
}
.nomadBtn7 {
color: #FFF;
padding: .7em 2em;
display: inline-block;
background: rgba(85,168,220, .7);
border-left: 2px solid #55A8DC;
border-right: 2px solid #55A8DC;
text-decoration: none;
}
.nomadBtn7 {
color: #FFF;
padding: .7em 2em;
display: inline-block;
background: rgba(224,116,135, .7);
border-left: 2px solid #E07487;
border-right: 2px solid #E07487;
text-decoration: none;
}
.nomadBtn7 {
color: #FFF;
padding: .7em 2em;
display: inline-block;
background: rgba(94,139,109, .7);
border-left: 2px solid #5E8B6D;
border-right: 2px solid #5E8B6D;
text-decoration: none;
}
.nomadBtn7 {
color: #FFF;
padding: .7em 2em;
display: inline-block;
background: rgba(123,134,198, .7);
border-left: 2px solid #7B86C6;
border-right: 2px solid #7B86C6;
text-decoration: none;
}
上下線
SAMPLE
COLOR :
0
コードを表示
HTML
<a href="ここにリンク先" class="nomadBtn8">ここに文字</a>
CSS
.nomadBtn8 {
color: #FFF;
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;
}
.nomadBtn8 {
color: #FFF;
padding: .7em 2em;
display: inline-block;
background: rgba(85,168,220, .7);
border-top: 2px solid #55A8DC;
border-bottom: 2px solid #55A8DC;
text-decoration: none;
}
.nomadBtn8 {
color: #FFF;
padding: .7em 2em;
display: inline-block;
background: rgba(224,116,135, .7);
border-top: 2px solid #E07487;
border-bottom: 2px solid #E07487;
text-decoration: none;
}
.nomadBtn8 {
color: #FFF;
padding: .7em 2em;
display: inline-block;
background: rgba(94,139,109, .7);
border-top: 2px solid #5E8B6D;
border-bottom: 2px solid #5E8B6D;
text-decoration: none;
}
.nomadBtn8 {
color: #FFF;
padding: .7em 2em;
display: inline-block;
background: rgba(123,134,198, .7);
border-top: 2px solid #7B86C6;
border-bottom: 2px solid #7B86C6;
text-decoration: none;
}
アイコン付き1
コードを表示
HTML
<a href="ここにリンク先" class="nomadBtn9"> <span class="nomadBtn9_icon"> <i class="fas fa-arrow-down"></i> </span> <span class="nomadBtn9_text">ここに文字</span> </a>
CSS
.nomadBtn9 { color: #FFF; display: inline-block; background: rgba(50,50,50,.7); text-decoration: none; box-sizing: border-box; margin: 1em; border-radius: 5px; height: 2.5em; text-decoration: none; } .nomadBtn9_icon { display: inline-block; text-align: center; color: #FFF; background:#323232; float: right; padding: .5em ; border-top-right-radius: 5px; border-bottom-right-radius: 5px; width: 2.5em; } .nomadBtn9_text { display: inline-block; text-align: center; vertical-align: middle; padding: .5em; width: 200px;/* 横幅-文字数が多いときは広げてください */ }
.nomadBtn9 { color: #FFF; display: inline-block; background: rgba(85,168,220,.7); text-decoration: none; box-sizing: border-box; margin: 1em; border-radius: 5px; height: 2.5em; text-decoration: none; } .nomadBtn9_icon { display: inline-block; text-align: center; color: #FFF; background: #55A8DC; float: right; padding: .5em ; border-top-right-radius: 5px; border-bottom-right-radius: 5px; width: 2.5em; } .nomadBtn9_text { display: inline-block; text-align: center; vertical-align: middle; padding: .5em; width: 200px;/* 横幅-文字数が多いときは広げてください */ }
.nomadBtn9 { color: #FFF; display: inline-block; background: rgba(224,116,135,.7); text-decoration: none; box-sizing: border-box; margin: 1em; border-radius: 5px; height: 2.5em; text-decoration: none; } .nomadBtn9_icon { display: inline-block; text-align: center; color: #FFF; background: #E07487; float: right; padding: .5em ; border-top-right-radius: 5px; border-bottom-right-radius: 5px; width: 2.5em; } .nomadBtn9_text { display: inline-block; text-align: center; vertical-align: middle; padding: .5em; width: 200px;/* 横幅-文字数が多いときは広げてください */ }
.nomadBtn9 { color: #FFF; display: inline-block; background: rgba(94,139,109,.7); text-decoration: none; box-sizing: border-box; margin: 1em; border-radius: 5px; height: 2.5em; text-decoration: none; } .nomadBtn9_icon { display: inline-block; text-align: center; color: #FFF; background: #5E8B6D; float: right; padding: .5em ; border-top-right-radius: 5px; border-bottom-right-radius: 5px; width: 2.5em; } .nomadBtn9_text { display: inline-block; text-align: center; vertical-align: middle; padding: .5em; width: 200px;/* 横幅-文字数が多いときは広げてください */ }
.nomadBtn9 { color: #FFF; display: inline-block; background: rgba(123,134,198,.7); text-decoration: none; box-sizing: border-box; margin: 1em; border-radius: 5px; height: 2.5em; text-decoration: none; } .nomadBtn9_icon { display: inline-block; text-align: center; color: #FFF; background: #7B86C6; float: right; padding: .5em ; border-top-right-radius: 5px; border-bottom-right-radius: 5px; width: 2.5em; } .nomadBtn9_text { display: inline-block; text-align: center; vertical-align: middle; padding: .5em; width: 200px;/* 横幅-文字数が多いときは広げてください */ }
アイコン付き2
コードを表示
HTML
<a href="ここにリンク先" class="nomadBtn10"> <span class="nomadBtn10_icon"> <i class="fas fa-arrow-down"></i> </span> <span class="nomadBtn10_text">ここに文字</span> </a>
CSS
.nomadBtn10 { color: #FFF; display: inline-block; background: rgba(50,50,50,.7); text-decoration: none; box-sizing: border-box; margin: 1em; height: 2.5em; border-top-right-radius: 50em; border-bottom-right-radius: 50em; border-top-left-radius: 50em; border-bottom-left-radius: 50em; } .nomadBtn10_icon { display: inline-block; text-align: center; color: #FFF; background:#323232; float: right; font-size: .9em; padding: .15em ; border-radius: 50em; margin: .55em .65em .65em .65em; width: 1.7em; height: 1.7em; } .nomadBtn10_text { display: inline-block; text-align: center; vertical-align: middle; padding: .6em .3em; width: 200px;/* 横幅-文字数が多いときは広げてください */ }
.nomadBtn10 { color: #FFF; display: inline-block; background: rgba(85,168,220,.7); text-decoration: none; box-sizing: border-box; margin: 1em; height: 2.5em; border-top-right-radius: 50em; border-bottom-right-radius: 50em; border-top-left-radius: 50em; border-bottom-left-radius: 50em; } .nomadBtn10_icon { display: inline-block; text-align: center; color: #FFF; background: #55A8DC; float: right; font-size: .9em; padding: .15em ; border-radius: 50em; margin: .55em .65em .65em .65em; width: 1.7em; height: 1.7em; } .nomadBtn10_text { display: inline-block; text-align: center; vertical-align: middle; padding: .6em .3em; width: 200px;/* 横幅-文字数が多いときは広げてください */ }
.nomadBtn10 { color: #FFF; display: inline-block; background: rgba(224,116,135,.7); text-decoration: none; box-sizing: border-box; margin: 1em; height: 2.5em; border-top-right-radius: 50em; border-bottom-right-radius: 50em; border-top-left-radius: 50em; border-bottom-left-radius: 50em; } .nomadBtn10_icon { display: inline-block; text-align: center; color: #FFF; background: #E07487; float: right; font-size: .9em; padding: .15em ; border-radius: 50em; margin: .55em .65em .65em .65em; width: 1.7em; height: 1.7em; } .nomadBtn10_text { display: inline-block; text-align: center; vertical-align: middle; padding: .6em .3em; width: 200px;/* 横幅-文字数が多いときは広げてください */ }
.nomadBtn10 { color: #FFF; display: inline-block; background: rgba(94,139,109,.7); text-decoration: none; box-sizing: border-box; margin: 1em; height: 2.5em; border-top-right-radius: 50em; border-bottom-right-radius: 50em; border-top-left-radius: 50em; border-bottom-left-radius: 50em; } .nomadBtn10_icon { display: inline-block; text-align: center; color: #FFF; background:#5E8B6D; float: right; font-size: .9em; padding: .15em ; border-radius: 50em; margin: .55em .65em .65em .65em; width: 1.7em; height: 1.7em; } .nomadBtn10_text { display: inline-block; text-align: center; vertical-align: middle; padding: .6em .3em; width: 200px;/* 横幅-文字数が多いときは広げてください */ }
.nomadBtn10 { color: #FFF; display: inline-block; background: rgba(123,134,198,.7); text-decoration: none; box-sizing: border-box; margin: 1em; height: 2.5em; border-top-right-radius: 50em; border-bottom-right-radius: 50em; border-top-left-radius: 50em; border-bottom-left-radius: 50em; } .nomadBtn10_icon { display: inline-block; text-align: center; color: #FFF; background:#7B86C6; float: right; font-size: .9em; padding: .15em ; border-radius: 50em; margin: .55em .65em .65em .65em; width: 1.7em; height: 1.7em; } .nomadBtn10_text { display: inline-block; text-align: center; vertical-align: middle; padding: .6em .3em; width: 200px;/* 横幅-文字数が多いときは広げてください */ }
アイコン付き3
コードを表示
HTML
<a href="ここにリンク先" class="nomadBtn11"> <span class="nomadBtn11_icon"> <i class="fas fa-arrow-down"></i> </span> <span class="nomadBtn11_text">ここに文字</span> </a>
CSS
.nomadBtn11 { color: #FFF; display: inline-block; background: rgba(50,50,50,.7); text-decoration: none; box-sizing: border-box; margin: 1em; height: 2.5em; border-top-right-radius: 50em; border-bottom-right-radius: 50em; border-top-left-radius: 50em; border-bottom-left-radius: 50em; } .nomadBtn11_icon { display: inline-block; font-size: 1em; text-align: center; color: #FFF; background:#323232; float: right; padding: .5em ; border-radius: 50em; width: 2.5em; height: 2.5em; } .nomadBtn11_text { display: inline-block; text-align: center; vertical-align: middle; padding: .6em .3em; width: 200px;/* 横幅-文字数が多いときは広げてください */ }
.nomadBtn11 { color: #FFF; display: inline-block; background: rgba(85,168,220,.7); text-decoration: none; box-sizing: border-box; margin: 1em; height: 2.5em; border-top-right-radius: 50em; border-bottom-right-radius: 50em; border-top-left-radius: 50em; border-bottom-left-radius: 50em; } .nomadBtn11_icon { display: inline-block; font-size: 1em; text-align: center; color: #FFF; background: #55A8DC; float: right; padding: .5em ; border-radius: 50em; width: 2.5em; height: 2.5em; } .nomadBtn11_text { display: inline-block; text-align: center; vertical-align: middle; padding: .6em .3em; width: 200px;/* 横幅-文字数が多いときは広げてください */ }
.nomadBtn11 { color: #FFF; display: inline-block; background: rgba(224,116,135,.7); text-decoration: none; box-sizing: border-box; margin: 1em; height: 2.5em; border-top-right-radius: 50em; border-bottom-right-radius: 50em; border-top-left-radius: 50em; border-bottom-left-radius: 50em; } .nomadBtn11_icon { display: inline-block; font-size: 1em; text-align: center; color: #FFF; background: #E07487; float: right; padding: .5em ; border-radius: 50em; width: 2.5em; height: 2.5em; } .nomadBtn11_text { display: inline-block; text-align: center; vertical-align: middle; padding: .6em .3em; width: 200px;/* 横幅-文字数が多いときは広げてください */ }
.nomadBtn11 { color: #FFF; display: inline-block; background: rgba(94,139,109,.7); text-decoration: none; box-sizing: border-box; margin: 1em; height: 2.5em; border-top-right-radius: 50em; border-bottom-right-radius: 50em; border-top-left-radius: 50em; border-bottom-left-radius: 50em; } .nomadBtn11_icon { display: inline-block; font-size: 1em; text-align: center; color: #FFF; background: #5E8B6D; float: right; padding: .5em ; border-radius: 50em; width: 2.5em; height: 2.5em; } .nomadBtn11_text { display: inline-block; text-align: center; vertical-align: middle; padding: .6em .3em; width: 200px;/* 横幅-文字数が多いときは広げてください */ }
.nomadBtn11 { color: #FFF; display: inline-block; background: rgba(123,134,198,.7); text-decoration: none; box-sizing: border-box; margin: 1em; height: 2.5em; border-top-right-radius: 50em; border-bottom-right-radius: 50em; border-top-left-radius: 50em; border-bottom-left-radius: 50em; } .nomadBtn11_icon { display: inline-block; font-size: 1em; text-align: center; color: #FFF; background: #7B86C6; float: right; padding: .5em ; border-radius: 50em; width: 2.5em; height: 2.5em; } .nomadBtn11_text { display: inline-block; text-align: center; vertical-align: middle; padding: .6em .3em; width: 200px;/* 横幅-文字数が多いときは広げてください */ }
背景色がゆっくり反転する
コードを表示
HTML
<div class="nomadBtn_deco1"> <a href="#">ボタン</a> </div>
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; border-radius: 4px; transition: .4s; } .nomadBtn_deco1 a:hover { background-color: #323232; border-color: #323232; color: #FFF; }
.nomadBtn_deco1 a { display: inline-block; max-width: 180px; text-align: left; border: 2px solid #55A8DC; color: #55A8DC; text-decoration: none; font-weight: bold; padding: .8em 2.5em; border-radius: 4px; transition: .4s; } .nomadBtn_deco1 a:hover { background-color: #55A8DC; border-color: #55A8DC; color: #FFF; }
.nomadBtn_deco1 a { display: inline-block; max-width: 180px; text-align: left; border: 2px solid #E07487; color: #E07487; text-decoration: none; font-weight: bold; padding: .8em 2.5em; border-radius: 4px; transition: .4s; } .nomadBtn_deco1 a:hover { background-color: #E07487; border-color: #E07487; color: #FFF; }
.nomadBtn_deco1 a { display: inline-block; max-width: 180px; text-align: left; border: 2px solid #5E8B6D; color: #5E8B6D; text-decoration: none; font-weight: bold; padding: .8em 2.5em; border-radius: 4px; transition: .4s; } .nomadBtn_deco1 a:hover { background-color: #5E8B6D; border-color: #5E8B6D; color: #FFF; }
.nomadBtn_deco1 a { display: inline-block; max-width: 180px; text-align: left; border: 2px solid #7B86C6; color: #7B86C6; text-decoration: none; font-weight: bold; padding: .8em 2.5em; border-radius: 4px; transition: .4s; } .nomadBtn_deco1 a:hover { background-color: #7B86C6; border-color: #7B86C6; color: #FFF; }
背景色がゆっくり反転する2
コードを表示
HTML
<div class="nomadBtn_deco2"> <a href="#">ボタン</a> </div>
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: .3em; } .nomadBtn_deco2 a:hover { background: none; color: #323232; }
.nomadBtn_deco2 a { display: inline-block; max-width: 180px; text-align: left; border: 2px solid #55A8DC; color: #FFF; background: #55A8DC; text-decoration: none; font-weight: bold; padding: .8em 2.5em; border-radius: 4px; transition: .4s; margin: .3em; } .nomadBtn_deco2 a:hover { background: none; color: #55A8DC; }
.nomadBtn_deco2 a { display: inline-block; max-width: 180px; text-align: left; border: 2px solid #E07487; color: #FFF; background: #E07487; text-decoration: none; font-weight: bold; padding: .8em 2.5em; border-radius: 4px; transition: .4s; margin: .3em; } .nomadBtn_deco2 a:hover { background: none; color: #E07487; }
.nomadBtn_deco2 a { display: inline-block; max-width: 180px; text-align: left; border: 2px solid #5E8B6D; color: #FFF; background: #5E8B6D; text-decoration: none; font-weight: bold; padding: .8em 2.5em; border-radius: 4px; transition: .4s; margin: .3em; } .nomadBtn_deco2 a:hover { background: none; color: #5E8B6D; }
.nomadBtn_deco2 a { display: inline-block; max-width: 180px; text-align: left; border: 2px solid #7B86C6; color: #FFF; background: #7B86C6; text-decoration: none; font-weight: bold; padding: .8em 2.5em; border-radius: 4px; transition: .4s; margin: .3em; } .nomadBtn_deco2 a:hover { background: none; color: #7B86C6; }
左から右に広がって反転する
コードを表示
HTML
<div class="nomadBtn_deco3"> <a href="#">ボタン</a> </div>
CSS
.nomadBtn_deco3 { position: relative; z-index: 1; } .nomadBtn_deco3 a { background: none; margin: .3em; padding: .8em 2.5em; display: inline-block; text-transform: uppercase; letter-spacing: 1px; font-weight: bold; outline: none; position: relative; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; border: 3px solid #323232; color: #323232; } .nomadBtn_deco3 a:after { content: ''; position: absolute; z-index: -1; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; width: 0%; height: 100%; top: 0; left: 0; background: #323232; } .nomadBtn_deco3 a:hover, .nomadBtn_deco3 a:active { color: #FFF; width: 100%; }
.nomadBtn_deco3 { position: relative; z-index: 1; } .nomadBtn_deco3 a { background: none; margin: .3em; padding: .8em 2.5em; display: inline-block; text-transform: uppercase; letter-spacing: 1px; font-weight: bold; outline: none; position: relative; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; border: 3px solid #55A8DC; color: #55A8DC; } .nomadBtn_deco3 a:after { content: ''; position: absolute; z-index: -1; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; width: 0%; height: 100%; top: 0; left: 0; background: #55A8DC; } .nomadBtn_deco3 a:hover, .nomadBtn_deco3 a:active { color: #FFF; width: 100%; }
.nomadBtn_deco3 { position: relative; z-index: 1; } .nomadBtn_deco3 a { background: none; margin: .3em; padding: .8em 2.5em; display: inline-block; text-transform: uppercase; letter-spacing: 1px; font-weight: bold; outline: none; position: relative; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; border: 3px solid #E07487; color: #E07487; } .nomadBtn_deco3 a:after { content: ''; position: absolute; z-index: -1; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; width: 0%; height: 100%; top: 0; left: 0; background: #E07487; } .nomadBtn_deco3 a:hover, .nomadBtn_deco3 a:active { color: #FFF; width: 100%; }
.nomadBtn_deco3 { position: relative; z-index: 1; } .nomadBtn_deco3 a { background: none; margin: .3em; padding: .8em 2.5em; display: inline-block; text-transform: uppercase; letter-spacing: 1px; font-weight: bold; outline: none; position: relative; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; border: 3px solid #5E8B6D; color: #5E8B6D; } .nomadBtn_deco3 a:after { content: ''; position: absolute; z-index: -1; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; width: 0%; height: 100%; top: 0; left: 0; background: #5E8B6D; } .nomadBtn_deco3 a:hover, .nomadBtn_deco3 a:active { color: #FFF; width: 100%; }
.nomadBtn_deco3 { position: relative; z-index: 1; } .nomadBtn_deco3 a { background: none; margin: .3em; padding: .8em 2.5em; display: inline-block; text-transform: uppercase; letter-spacing: 1px; font-weight: bold; outline: none; position: relative; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; border: 3px solid #7B86C6; color: #7B86C6; } .nomadBtn_deco3 a:after { content: ''; position: absolute; z-index: -1; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; width: 0%; height: 100%; top: 0; left: 0; background: #7B86C6; } .nomadBtn_deco3 a:hover, .nomadBtn_deco3 a:active { color: #FFF; width: 100%; }
右から左に広がって反転する
コードを表示
HTML
<div class="nomadBtn_deco4"> <a href="#">ボタン</a> </div>
CSS
.nomadBtn_deco4 { position: relative; z-index: 1; } .nomadBtn_deco4 a { background: none; margin: .3em; padding: .8em 2.5em; display: inline-block; text-transform: uppercase; letter-spacing: 1px; font-weight: bold; outline: none; position: relative; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; border: 3px solid #323232; color: #323232; } .nomadBtn_deco4 a:after { content: ''; position: absolute; z-index: -1; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; width: 0%; height: 100%; top: 0; right: 0; background: #323232; } .nomadBtn_deco4 a:hover, .nomadBtn_deco4 a:active { color: #FFF; width: 100%; }
.nomadBtn_deco4 { position: relative; z-index: 1; } .nomadBtn_deco4 a { background: none; margin: .3em; padding: .8em 2.5em; display: inline-block; text-transform: uppercase; letter-spacing: 1px; font-weight: bold; outline: none; position: relative; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; border: 3px solid #55A8DC; color: #55A8DC; } .nomadBtn_deco4 a:after { content: ''; position: absolute; z-index: -1; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; width: 0%; height: 100%; top: 0; right: 0; background: #55A8DC; } .nomadBtn_deco4 a:hover, .nomadBtn_deco4 a:active { color: #FFF; width: 100%; }
.nomadBtn_deco4 { position: relative; z-index: 1; } .nomadBtn_deco4 a { background: none; margin: .3em; padding: .8em 2.5em; display: inline-block; text-transform: uppercase; letter-spacing: 1px; font-weight: bold; outline: none; position: relative; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; border: 3px solid #E07487; color: #E07487; } .nomadBtn_deco4 a:after { content: ''; position: absolute; z-index: -1; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; width: 0%; height: 100%; top: 0; right: 0; background: #E07487; } .nomadBtn_deco4 a:hover, .nomadBtn_deco4 a:active { color: #FFF; width: 100%; }
.nomadBtn_deco4 { position: relative; z-index: 1; } .nomadBtn_deco4 a { background: none; margin: .3em; padding: .8em 2.5em; display: inline-block; text-transform: uppercase; letter-spacing: 1px; font-weight: bold; outline: none; position: relative; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; border: 3px solid #5E8B6D; color: #5E8B6D; } .nomadBtn_deco4 a:after { content: ''; position: absolute; z-index: -1; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; width: 0%; height: 100%; top: 0; right: 0; background: #5E8B6D; } .nomadBtn_deco4 a:hover, .nomadBtn_deco4 a:active { color: #FFF; width: 100%; }
.nomadBtn_deco4 { position: relative; z-index: 1; } .nomadBtn_deco4 a { background: none; margin: .3em; padding: .8em 2.5em; display: inline-block; text-transform: uppercase; letter-spacing: 1px; font-weight: bold; outline: none; position: relative; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; border: 3px solid #7B86C6; color: #7B86C6; } .nomadBtn_deco4 a:after { content: ''; position: absolute; z-index: -1; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; width: 0%; height: 100%; top: 0; right: 0; background: #7B86C6; } .nomadBtn_deco4 a:hover, .nomadBtn_deco4 a:active { color: #FFF; width: 100%; }
フラットな押し込み
コードを表示
HTML
<div class="nomadBtn_deco5"> <a href="#">ボタン</a> </div>
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: .3em; border-radius: 4px; border-bottom: 4px solid #323232; } .nomadBtn_deco5 a:active { transform: translateY(4px); border-bottom: none; background: #323232; }
.nomadBtn_deco5 a { display: inline-block; text-align: center; background: #55A8DC; color: #FFF; text-decoration: none; font-weight: bold; padding: .8em 2.5em; margin: .3em; border-radius: 4px; border-bottom: 4px solid #306DB2; } .nomadBtn_deco5 a:active { transform: translateY(4px); border-bottom: none; background: #4083D0; }
.nomadBtn_deco5 a { display: inline-block; text-align: center; background: #E07487; color: #FFF; text-decoration: none; font-weight: bold; padding: .8em 2.5em; margin: .3em; border-radius: 4px; border-bottom: 4px solid #B12D41; } .nomadBtn_deco5 a:active { transform: translateY(4px); border-bottom: none; background: #D04D61; }
.nomadBtn_deco5 a { display: inline-block; text-align: center; background: #5E8B6D; color: #FFF; text-decoration: none; font-weight: bold; padding: .8em 2.5em; margin: .3em; border-radius: 4px; border-bottom: 4px solid #426A4F; } .nomadBtn_deco5 a:active { transform: translateY(4px); border-bottom: none; background: #426A4F; }
.nomadBtn_deco5 a { display: inline-block; text-align: center; background: #7B86C6; color: #FFF; text-decoration: none; font-weight: bold; padding: .8em 2.5em; margin: .3em; border-radius: 4px; border-bottom: 4px solid #1A212F; } .nomadBtn_deco5 a:active { transform: translateY(4px); border-bottom: none; background: #32415D; }
アイコンが現れる1
コードを表示
HTML
<div class="nomadBtn_deco7 icon-arrow-right"> <a href="#">ボタン</a> </div>
CSS
.nomadBtn_deco7 { position: relative; z-index: 1; } .nomadBtn_deco7 a { font-size: 18px; padding: .5em 3em; display: inline-block; letter-spacing: 1px; font-weight: 700; outline: none; position: relative; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; background: #323232; border-radius: 10px; color: #FFF; overflow: hidden; } .nomadBtn_deco7 a:after { content: ''; position: absolute; z-index: -1; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; } .nomadBtn_deco7 a:before { position: absolute; height: 100%; font-size: 80%; line-height: 3em; color: #fff; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; right: -20%; top: 0; } .nomadBtn_deco7 a:hover:active { right: 15px; } .nomadBtn_deco7.icon-arrow-right a:before { font-family: "Font Awesome 5 Free"; content: "\f061"; }
.nomadBtn_deco7 { position: relative; z-index: 1; } .nomadBtn_deco7 a { font-size: 18px; padding: .5em 3em; display: inline-block; letter-spacing: 1px; font-weight: 700; outline: none; position: relative; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; background: #55A8DC; border-radius: 10px; color: #FFF; overflow: hidden; } .nomadBtn_deco7 a:after { content: ''; position: absolute; z-index: -1; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; } .nomadBtn_deco7 a:before { position: absolute; height: 100%; font-size: 80%; line-height: 3em; color: #fff; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; right: -20%; top: 0; } .nomadBtn_deco7 a:hover:active { right: 15px; } .nomadBtn_deco7.icon-arrow-right a:before { font-family: "Font Awesome 5 Free"; content: "\f061"; }
.nomadBtn_deco7 { position: relative; z-index: 1; } .nomadBtn_deco7 a { font-size: 18px; padding: .5em 3em; display: inline-block; letter-spacing: 1px; font-weight: 700; outline: none; position: relative; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; background: #E07487; border-radius: 10px; color: #FFF; overflow: hidden; } .nomadBtn_deco7 a:after { content: ''; position: absolute; z-index: -1; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; } .nomadBtn_deco7 a:before { position: absolute; height: 100%; font-size: 80%; line-height: 3em; color: #fff; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; right: -20%; top: 0; } .nomadBtn_deco7 a:hover:active { right: 15px; } .nomadBtn_deco7.icon-arrow-right a:before { font-family: "Font Awesome 5 Free"; content: "\f061"; }
.nomadBtn_deco7 { position: relative; z-index: 1; } .nomadBtn_deco7 a { font-size: 18px; padding: .5em 3em; display: inline-block; letter-spacing: 1px; font-weight: 700; outline: none; position: relative; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; background: #5E8B6D; border-radius: 10px; color: #FFF; overflow: hidden; } .nomadBtn_deco7 a:after { content: ''; position: absolute; z-index: -1; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; } .nomadBtn_deco7 a:before { position: absolute; height: 100%; font-size: 80%; line-height: 3em; color: #fff; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; right: -20%; top: 0; } .nomadBtn_deco7 a:hover:active { right: 15px; } .nomadBtn_deco7.icon-arrow-right a:before { font-family: "Font Awesome 5 Free"; content: "\f061"; }
.nomadBtn_deco7 { position: relative; z-index: 1; } .nomadBtn_deco7 a { font-size: 18px; padding: .5em 3em; display: inline-block; letter-spacing: 1px; font-weight: 700; outline: none; position: relative; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; background: #7B86C6; border-radius: 10px; color: #FFF; overflow: hidden; } .nomadBtn_deco7 a:after { content: ''; position: absolute; z-index: -1; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; } .nomadBtn_deco7 a:before { position: absolute; height: 100%; font-size: 80%; line-height: 3em; color: #fff; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; right: -20%; top: 0; } .nomadBtn_deco7 a:hover:active { right: 15px; } .nomadBtn_deco7.icon-arrow-right a:before { font-family: "Font Awesome 5 Free"; content: "\f061"; }
アイコンが現れる2
コードを表示
HTML
<div class="nomadBtn_deco8 icon-arrow-left"> <a href="#">ボタン</a> </div>
CSS
.nomadBtn_deco8 { position: relative; z-index: 1; } .nomadBtn_deco8 a { font-size: 18px; padding: .5em 3em; display: inline-block; letter-spacing: 1px; font-weight: 700; outline: none; position: relative; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; background: #323232; border-radius: 10px; color: #FFF; overflow: hidden; } .nomadBtn_deco8 a:after { content: ''; position: absolute; z-index: -1; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; } .nomadBtn_deco8 a:before { position: absolute; height: 100%; font-size: 80%; line-height: 3em; color: #fff; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; left: -20%; top: 0; } .nomadBtn_deco8 a:hover:active { left: 15px; } .nomadBtn_deco8.icon-arrow-left a:before { font-family: "Font Awesome 5 Free"; content: "\f061"; }
.nomadBtn_deco8 { position: relative; z-index: 1; } .nomadBtn_deco8 a { font-size: 18px; padding: .5em 3em; display: inline-block; letter-spacing: 1px; font-weight: 700; outline: none; position: relative; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; background: #55A8DC; border-radius: 10px; color: #FFF; overflow: hidden; } .nomadBtn_deco8 a:after { content: ''; position: absolute; z-index: -1; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; } .nomadBtn_deco8 a:before { position: absolute; height: 100%; font-size: 80%; line-height: 3em; color: #fff; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; left: -20%; top: 0; } .nomadBtn_deco8 a:hover:active { left: 15px; } .nomadBtn_deco8.icon-arrow-left a:before { font-family: "Font Awesome 5 Free"; content: "\f061"; }
.nomadBtn_deco8 { position: relative; z-index: 1; } .nomadBtn_deco8 a { font-size: 18px; padding: .5em 3em; display: inline-block; letter-spacing: 1px; font-weight: 700; outline: none; position: relative; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; background: #E07487; border-radius: 10px; color: #FFF; overflow: hidden; } .nomadBtn_deco8 a:after { content: ''; position: absolute; z-index: -1; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; } .nomadBtn_deco8 a:before { position: absolute; height: 100%; font-size: 80%; line-height: 3em; color: #fff; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; left: -20%; top: 0; } .nomadBtn_deco8 a:hover:active { left: 15px; } .nomadBtn_deco8.icon-arrow-left a:before { font-family: "Font Awesome 5 Free"; content: "\f061"; }
.nomadBtn_deco8 { position: relative; z-index: 1; } .nomadBtn_deco8 a { font-size: 18px; padding: .5em 3em; display: inline-block; letter-spacing: 1px; font-weight: 700; outline: none; position: relative; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; background: #5E8B6D; border-radius: 10px; color: #FFF; overflow: hidden; } .nomadBtn_deco8 a:after { content: ''; position: absolute; z-index: -1; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; } .nomadBtn_deco8 a:before { position: absolute; height: 100%; font-size: 80%; line-height: 3em; color: #fff; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; left: -20%; top: 0; } .nomadBtn_deco8 a:hover:active { left: 15px; } .nomadBtn_deco8.icon-arrow-left a:before { font-family: "Font Awesome 5 Free"; content: "\f061"; }
.nomadBtn_deco8 { position: relative; z-index: 1; } .nomadBtn_deco8 a { font-size: 18px; padding: .5em 3em; display: inline-block; letter-spacing: 1px; font-weight: 700; outline: none; position: relative; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; background: #7B86C6; border-radius: 10px; color: #FFF; overflow: hidden; } .nomadBtn_deco8 a:after { content: ''; position: absolute; z-index: -1; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; } .nomadBtn_deco8 a:before { position: absolute; height: 100%; font-size: 80%; line-height: 3em; color: #fff; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; left: -20%; top: 0; } .nomadBtn_deco8 a:hover:active { left: 15px; } .nomadBtn_deco8.icon-arrow-left a:before { font-family: "Font Awesome 5 Free"; content: "\f061"; }
アイコンが現れる3
コードを表示
HTML
<div class="nomadBtn_deco9"> <span> <a href="#">ボタン</a> </span> </div>
CSS
.nomadBtn_deco9 { font-size: 18px; padding: .7em 3em; display: inline-block; letter-spacing: 1px; font-weight: 700; outline: none; position: relative; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; background: #323232; border-radius: 10px; color: #FFF; overflow: hidden; } .nomadBtn_deco9 span { display: inline-block; width: 100%; height: 100%; -webkit-transition: all 0.3s; -webkit-backface-visibility: hidden; -moz-transition: all 0.3s; -moz-backface-visibility: hidden; transition: all 0.3s; backface-visibility: hidden; } .nomadBtn_deco9:before { font-family: "Font Awesome 5 Free"; content: "\f07a"; position: absolute; height: 100%; width: 100%; font-size: 120%; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; left: 0; top: -100%; } .nomadBtn_deco9:hover span{ webkit-transform: translateY(300%); -moz-transform: translateY(300%); -ms-transform: translateY(300%); transform: translateY(300%); } .nomadBtn_deco9:hover:before { top: 10px; }
.nomadBtn_deco9 { font-size: 18px; padding: .7em 3em; display: inline-block; letter-spacing: 1px; font-weight: 700; outline: none; position: relative; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; background: #55A8DC; border-radius: 10px; color: #FFF; overflow: hidden; } .nomadBtn_deco9 span { display: inline-block; width: 100%; height: 100%; -webkit-transition: all 0.3s; -webkit-backface-visibility: hidden; -moz-transition: all 0.3s; -moz-backface-visibility: hidden; transition: all 0.3s; backface-visibility: hidden; } .nomadBtn_deco9:before { font-family: "Font Awesome 5 Free"; content: "\f07a"; position: absolute; height: 100%; width: 100%; font-size: 120%; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; left: 0; top: -100%; } .nomadBtn_deco9:hover span{ webkit-transform: translateY(300%); -moz-transform: translateY(300%); -ms-transform: translateY(300%); transform: translateY(300%); } .nomadBtn_deco9:hover:before { top: 10px; }
.nomadBtn_deco9 { font-size: 18px; padding: .7em 3em; display: inline-block; letter-spacing: 1px; font-weight: 700; outline: none; position: relative; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; background: #E07487; border-radius: 10px; color: #FFF; overflow: hidden; } .nomadBtn_deco9 span { display: inline-block; width: 100%; height: 100%; -webkit-transition: all 0.3s; -webkit-backface-visibility: hidden; -moz-transition: all 0.3s; -moz-backface-visibility: hidden; transition: all 0.3s; backface-visibility: hidden; } .nomadBtn_deco9:before { font-family: "Font Awesome 5 Free"; content: "\f07a"; position: absolute; height: 100%; width: 100%; font-size: 120%; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; left: 0; top: -100%; } .nomadBtn_deco9:hover span{ webkit-transform: translateY(300%); -moz-transform: translateY(300%); -ms-transform: translateY(300%); transform: translateY(300%); } .nomadBtn_deco9:hover:before { top: 10px; }
.nomadBtn_deco9 { font-size: 18px; padding: .7em 3em; display: inline-block; letter-spacing: 1px; font-weight: 700; outline: none; position: relative; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; background: #5E8B6D; border-radius: 10px; color: #FFF; overflow: hidden; } .nomadBtn_deco9 span { display: inline-block; width: 100%; height: 100%; -webkit-transition: all 0.3s; -webkit-backface-visibility: hidden; -moz-transition: all 0.3s; -moz-backface-visibility: hidden; transition: all 0.3s; backface-visibility: hidden; } .nomadBtn_deco9:before { font-family: "Font Awesome 5 Free"; content: "\f07a"; position: absolute; height: 100%; width: 100%; font-size: 120%; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; left: 0; top: -100%; } .nomadBtn_deco9:hover span{ webkit-transform: translateY(300%); -moz-transform: translateY(300%); -ms-transform: translateY(300%); transform: translateY(300%); } .nomadBtn_deco9:hover:before { top: 10px; }
.nomadBtn_deco9 { font-size: 18px; padding: .7em 3em; display: inline-block; letter-spacing: 1px; font-weight: 700; outline: none; position: relative; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; background: #7B86C6; border-radius: 10px; color: #FFF; overflow: hidden; } .nomadBtn_deco9 span { display: inline-block; width: 100%; height: 100%; -webkit-transition: all 0.3s; -webkit-backface-visibility: hidden; -moz-transition: all 0.3s; -moz-backface-visibility: hidden; transition: all 0.3s; backface-visibility: hidden; } .nomadBtn_deco9:before { font-family: "Font Awesome 5 Free"; content: "\f07a"; position: absolute; height: 100%; width: 100%; font-size: 120%; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; left: 0; top: -100%; } .nomadBtn_deco9:hover span{ webkit-transform: translateY(300%); -moz-transform: translateY(300%); -ms-transform: translateY(300%); transform: translateY(300%); } .nomadBtn_deco9:hover:before { top: 10px; }