実線
SAMPLE
COLOR :
0
コードを表示
HTML
<a href="ここにリンク先" class="nomadBtn1">ここに文字</a>
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;
}
.nomadBtn1 {
color: #55A8DC !important;
border: 2px solid #55A8DC;
border-radius: 5px;
padding: .7em 2em;
display: inline-block;
text-decoration: none !important;
margin: 15px 0;
}
.nomadBtn1 {
color: #E07487 !important;
border: 2px solid #E07487;
border-radius: 5px;
padding: .7em 2em;
display: inline-block;
text-decoration: none !important;
margin: 15px 0;
}
.nomadBtn1 {
color: #5E8B6D !important;
border: 2px solid #5E8B6D;
border-radius: 5px;
padding: .7em 2em;
display: inline-block;
text-decoration: none !important;
margin: 15px 0;
}
.nomadBtn1 {
color: #7B86C6 !important;
border: 2px solid #7B86C6;
border-radius: 5px;
padding: .7em 2em;
display: inline-block;
text-decoration: none !important;
margin: 15px 0;
}
まんまる角丸
SAMPLE
COLOR :
0
コードを表示
HTML
<a href="ここにリンク先" class="nomadBtn2">ここに文字</a>
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;
}
.nomadBtn2 {
color: #FFF !important;
border-radius: 50em 50em 50em 50em;
background: #55A8DC;
padding: .7em 2em;
display: inline-block;
text-decoration: none !important;
margin: 15px 0;
}
.nomadBtn2 {
color: #FFF !important;
border-radius: 50em 50em 50em 50em;
background: #E07487;
padding: .7em 2em;
display: inline-block;
text-decoration: none !important;
margin: 15px 0;
}
.nomadBtn2 {
color: #FFF !important;
border-radius: 50em 50em 50em 50em;
background: #5E8B6D;
padding: .7em 2em;
display: inline-block;
text-decoration: none !important;
margin: 15px 0;
}
.nomadBtn2 {
color: #FFF !important;
border-radius: 50em 50em 50em 50em;
background: #7B86C6;
padding: .7em 2em;
display: inline-block;
text-decoration: none !important;
margin: 15px 0;
}
背景色
SAMPLE
COLOR :
0
コードを表示
HTML
<a href="ここにリンク先" class="nomadBtn3">ここに文字</a>
CSS
.nomadBtn3 {
background: #323232;
color:#FFF !important;
border-radius: 5px;
padding: .7em 2em;
display: inline-block;
text-decoration: none !important;
margin: 15px 0;
}
.nomadBtn3 {
background: #55A8DC;
color:#FFF !important;
border-radius: 5px;
padding: .7em 2em;
display: inline-block;
text-decoration: none !important;
margin: 15px 0;
}
.nomadBtn3 {
background: #E07487;
color:#FFF !important;
border-radius: 5px;
padding: .7em 2em;
display: inline-block;
text-decoration: none !important;
margin: 15px 0;
}
.nomadBtn3 {
background: #5E8B6D;
color:#FFF !important;
border-radius: 5px;
padding: .7em 2em;
display: inline-block;
text-decoration: none !important;
margin: 15px 0;
}
.nomadBtn3 {
background: #7B86C6;
color:#FFF !important;
border-radius: 5px;
padding: .7em 2em;
display: inline-block;
text-decoration: none !important;
margin: 15px 0;
}
フラットな押し込み
SAMPLE
COLOR :
0
コードを表示
HTML
<a href="ここにリンク先" class="nomadBtn4">ここに文字</a>
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; }
.nomadBtn4 { display: inline-block; padding: .5em 2em; text-decoration: none !important; background: #55A8DC; color: #FFF !important; border-bottom: solid 3px #306DB2; border-radius: 3px; text-decoration: none; margin: 15px 0; } .nomadBtn4:active { /*ボタンを押したときの動作*/ -webkit-transform: translateY(3px); transform: translateY(3px); border-bottom: none; }
.nomadBtn4 { display: inline-block; padding: .5em 2em; text-decoration: none !important; background: #E07487; color: #FFF !important; border-bottom: solid 3px #B12D41; border-radius: 3px; text-decoration: none; margin: 15px 0; } .nomadBtn4:active { /*ボタンを押したときの動作*/ -webkit-transform: translateY(3px); transform: translateY(3px); border-bottom: none; }
.nomadBtn4 { display: inline-block; padding: .5em 2em; text-decoration: none !important; background: #5E8B6D; color: #FFF !important; border-bottom: solid 3px #426A4F; border-radius: 3px; text-decoration: none; margin: 15px 0; } .nomadBtn4:active { /*ボタンを押したときの動作*/ -webkit-transform: translateY(3px); transform: translateY(3px); border-bottom: none; }
.nomadBtn4 { display: inline-block; padding: .5em 2em; text-decoration: none !important; background: #7B86C6; color: #FFF !important; border-bottom: solid 3px #1A212F; border-radius: 3px; text-decoration: none; margin: 15px 0; } .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 !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;
}
.nomadBtn5 {
color: #FFF !important;
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 !important;
margin: 15px 0;
}
.nomadBtn5 {
color: #FFF !important;
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 !important;
margin: 15px 0;
}
.nomadBtn5 {
color: #FFF !important;
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 !important;
margin: 15px 0;
}
.nomadBtn5 {
color: #FFF !important;
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 !important;
margin: 15px 0;
}
左右グラデーション
SAMPLE
COLOR :
0
コードを表示
HTML
<a href="ここにリンク先" class="nomadBtn6">ここに文字</a>
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;
}
.nomadBtn6 {
color: #FFF !important;
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 !important;
margin: 15px 0;
}
.nomadBtn6 {
color: #FFF !important;
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 !important;
margin: 15px 0;
}
.nomadBtn6 {
color: #FFF !important;
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 !important;
margin: 15px 0;
}
.nomadBtn6 {
color: #FFF !important;
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 !important;
margin: 15px 0;
}
左右線
SAMPLE
COLOR :
0
コードを表示
HTML
<a href="ここにリンク先" class="nomadBtn7">ここに文字</a>
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;
}
.nomadBtn7 {
color: #FFF !important;
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 !important;
margin: 15px 0;
}
.nomadBtn7 {
color: #FFF !important;
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 !important;
margin: 15px 0;
}
.nomadBtn7 {
color: #FFF !important;
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 !important;
margin: 15px 0;
}
.nomadBtn7 {
color: #FFF !important;
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 !important;
margin: 15px 0;
}
上下線
SAMPLE
COLOR :
0
コードを表示
HTML
<a href="ここにリンク先" class="nomadBtn8">ここに文字</a>
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;
}
.nomadBtn8 {
color: #FFF !important;
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 !important;
margin: 15px 0;
}
.nomadBtn8 {
color: #FFF !important;
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 !important;
margin: 15px 0;
}
.nomadBtn8 {
color: #FFF !important;
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 !important;
margin: 15px 0;
}
.nomadBtn8 {
color: #FFF !important;
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 !important;
margin: 15px 0;
}
アイコン付き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 !important; display: inline-block; text-decoration: none; box-sizing: border-box; margin: 15px 0; border-radius: 5px; height: 2.5em; text-decoration: none !important; } .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; background: rgba(50,50,50,.7); text-align: center; vertical-align: middle; padding: .5em; width: 200px;/* 横幅-文字数が多いときは広げてください */ }
.nomadBtn9 { color: #FFF !important; display: inline-block; text-decoration: none; box-sizing: border-box; margin: 15px 0; border-radius: 5px; height: 2.5em; text-decoration: none !important; } .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; background: rgba(85,168,220,.7); text-align: center; vertical-align: middle; padding: .5em; width: 200px;/* 横幅-文字数が多いときは広げてください */ }
.nomadBtn9 { color: #FFF !important; display: inline-block; text-decoration: none; box-sizing: border-box; margin: 15px 0; border-radius: 5px; height: 2.5em; text-decoration: none !important; } .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; background: rgba(224,116,135,.7); text-align: center; vertical-align: middle; padding: .5em; width: 200px;/* 横幅-文字数が多いときは広げてください */ }
.nomadBtn9 { color: #FFF !important; display: inline-block; text-decoration: none; box-sizing: border-box; margin: 15px 0; border-radius: 5px; height: 2.5em; text-decoration: none !important; } .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; background: rgba(94,139,109,.7); text-align: center; vertical-align: middle; padding: .5em; width: 200px;/* 横幅-文字数が多いときは広げてください */ }
.nomadBtn9 { color: #FFF !important; display: inline-block; text-decoration: none; box-sizing: border-box; margin: 15px 0; border-radius: 5px; height: 2.5em; text-decoration: none !important; } .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; background: rgba(123,134,198,.7); 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 !important; padding: 0 0 0 1em; background: rgba(50,50,50,.7); display: inline-block; text-decoration: none !important; box-sizing: border-box; margin: 15px 0 15px 0; line-height: 2.7em; 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; vertical-align: .3em; line-height: 1.5em; } .nomadBtn10_text { display: inline-block; text-align: center; vertical-align: middle; line-height: 2.7em; width: 150px;/* 横幅-文字数が多いときは広げてください */ } .nomadBtn10_icon svg { vertical-align: .3em !important; }
.nomadBtn10 { color: #FFF !important; padding: 0 0 0 1em; background: rgba(85,168,220,.7); display: inline-block; text-decoration: none !important; box-sizing: border-box; margin: 15px 0 15px 0; line-height: 2.7em; 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; vertical-align: .3em; line-height: 1.5em; } .nomadBtn10_text { display: inline-block; text-align: center; vertical-align: middle; line-height: 2.7em; width: 150px;/* 横幅-文字数が多いときは広げてください */ } .nomadBtn10_icon svg { vertical-align: .3em !important; }
.nomadBtn10 { color: #FFF !important; padding: 0 0 0 1em; background: rgba(224,116,135,.7); display: inline-block; text-decoration: none !important; box-sizing: border-box; margin: 15px 0 15px 0; line-height: 2.7em; 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; vertical-align: .3em; line-height: 1.5em; } .nomadBtn10_text { display: inline-block; text-align: center; vertical-align: middle; line-height: 2.7em; width: 150px;/* 横幅-文字数が多いときは広げてください */ } .nomadBtn10_icon svg { vertical-align: .3em !important; }
.nomadBtn10 { color: #FFF !important; background: rgba(94,139,109,.7); display: inline-block; text-decoration: none !important; box-sizing: border-box; margin: 15px 0 15px 0; line-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; vertical-align: .3em; line-height: 1.5em; } .nomadBtn10_text { display: inline-block; text-align: center; vertical-align: middle; line-height: 2.7em; width: 150px;/* 横幅-文字数が多いときは広げてください */ } .nomadBtn10_icon svg { vertical-align: .3em !important; }
.nomadBtn10 { color: #FFF !important; background: rgba(123,134,198,.7); display: inline-block; text-decoration: none !important; box-sizing: border-box; margin: 15px 0 15px 0; line-height: 2.7em; 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; vertical-align: .3em; line-height: 1.5em; } .nomadBtn10_text { display: inline-block; text-align: center; vertical-align: middle; line-height: 2.7em; width: 150px;/* 横幅-文字数が多いときは広げてください */ } .nomadBtn10_icon svg { vertical-align: .3em !important; }
アイコン付き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 !important; padding: 0 0 0 1em; background: rgba(50,50,50,.7); display: inline-block; text-decoration: none !important; box-sizing: border-box; margin: 15px 0 15px 0; line-height: 2.3em; 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; text-align: center; color: #FFF; background:#323232; float: right; font-size: .9em; padding: .15em ; border-radius: 50em; width: 2.6em; height: 2.6em; } .nomadBtn11_text { display: inline-block; text-align: center; vertical-align: middle; line-height: 2.3em; width: 150px;/* 横幅-文字数が多いときは広げてください */ } .nomadBtn11_icon svg { vertical-align: 0 !important; }
.nomadBtn11 { color: #FFF !important; padding: 0 0 0 1em; background: rgba(85,168,220,.7); display: inline-block; text-decoration: none !important; box-sizing: border-box; margin: 15px 0 15px 0; line-height: 2.3em; 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; text-align: center; color: #FFF; background: #55A8DC; float: right; font-size: .9em; padding: .15em ; border-radius: 50em; width: 2.6em; height: 2.6em; } .nomadBtn11_text { display: inline-block; text-align: center; vertical-align: middle; line-height: 2.3em; width: 150px;/* 横幅-文字数が多いときは広げてください */ } .nomadBtn11_icon svg { vertical-align: 0 !important; }
.nomadBtn11 { color: #FFF !important; padding: 0 0 0 1em; background: rgba(224,116,135,.7); display: inline-block; text-decoration: none !important; box-sizing: border-box; margin: 15px 0 15px 0; line-height: 2.3em; 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; text-align: center; color: #FFF; background: #E07487; float: right; font-size: .9em; padding: .15em ; border-radius: 50em; width: 2.6em; height: 2.6em; } .nomadBtn11_text { display: inline-block; text-align: center; vertical-align: middle; line-height: 2.3em; width: 150px;/* 横幅-文字数が多いときは広げてください */ } .nomadBtn11_icon svg { vertical-align: 0 !important; }
.nomadBtn11 { color: #FFF !important; padding: 0 0 0 1em; background: rgba(94,139,109,.7); display: inline-block; text-decoration: none !important; box-sizing: border-box; margin: 15px 0 15px 0; line-height: 2.3em; 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; text-align: center; color: #FFF; background:#5E8B6D; float: right; font-size: .9em; padding: .15em ; border-radius: 50em; width: 2.6em; height: 2.6em; } .nomadBtn11_text { display: inline-block; text-align: center; vertical-align: middle; line-height: 2.3em; width: 150px;/* 横幅-文字数が多いときは広げてください */ } .nomadBtn11_icon svg { vertical-align: 0 !important; }
.nomadBtn11 { color: #FFF !important; padding: 0 0 0 1em; background: rgba(123,134,198,.7); display: inline-block; text-decoration: none !important; box-sizing: border-box; margin: 15px 0 15px 0; line-height: 2.3em; 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; text-align: center; color: #FFF; background:#7B86C6; float: right; font-size: .9em; padding: .15em ; border-radius: 50em; width: 2.6em; height: 2.6em; } .nomadBtn11_text { display: inline-block; text-align: center; vertical-align: middle; line-height: 2.3em; width: 150px;/* 横幅-文字数が多いときは広げてください */ } .nomadBtn11_icon svg { vertical-align: 0 !important; }
背景色がゆっくり反転する
コードを表示
HTML
<div class="nomadBtn_deco1"> <a href="#">ボタン</a> </div>
CSS
.nomadBtn_deco1{ margin-top: 0; margin-bottom: 0; } .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; margin: 15px 0; } .nomadBtn_deco1 a:hover { background-color: #323232 !important; border-color: #323232; color: #FFF; opacity: 1 !important; }
.nomadBtn_deco1{ margin-top: 0; margin-bottom: 0; } .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; margin: 15px 0; } .nomadBtn_deco1 a:hover { background-color: #55A8DC !important; border-color: #55A8DC; color: #FFF; opacity: 1 !important; }
.nomadBtn_deco1{ margin-top: 0; margin-bottom: 0; } .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; margin: 15px 0; } .nomadBtn_deco1 a:hover { background-color: #E07487 !important; border-color: #E07487; color: #FFF; opacity: 1 !important; }
.nomadBtn_deco1{ margin-top: 0; margin-bottom: 0; } .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; margin: 15px 0; } .nomadBtn_deco1 a:hover { background-color: #5E8B6D !important; border-color: #5E8B6D; color: #FFF; opacity: 1 !important; }
.nomadBtn_deco1{ margin-top: 0; margin-bottom: 0; } .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; margin: 15px 0; } .nomadBtn_deco1 a:hover { background-color: #7B86C6 !important; border-color: #7B86C6; color: #FFF; opacity: 1 !important; }
背景色がゆっくり反転する2
コードを表示
HTML
<div class="nomadBtn_deco2"> <a href="#">ボタン</a> </div>
CSS
.nomadBtn_deco2{ margin-top: 0; margin-bottom: 0; } .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; }
.nomadBtn_deco2{ margin-top: 0; margin-bottom: 0; } .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: 15px 0; } .nomadBtn_deco2 a:hover { background: none; color: #55A8DC; opacity: 1 !important; }
.nomadBtn_deco2{ margin-top: 0; margin-bottom: 0; } .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: 15px 0; } .nomadBtn_deco2 a:hover { background: none; color: #E07487; opacity: 1 !important; }
.nomadBtn_deco2{ margin-top: 0; margin-bottom: 0; } .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: 15px 0; } .nomadBtn_deco2 a:hover { background: none; color: #5E8B6D; opacity: 1 !important; }
.nomadBtn_deco2{ margin-top: 0; margin-bottom: 0; } .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: 15px 0; } .nomadBtn_deco2 a:hover { background: none; color: #7B86C6; opacity: 1 !important; }
フラットな押し込み
コードを表示
HTML
<div class="nomadBtn_deco5"> <a href="#">ボタン</a> </div>
CSS
.nomadBtn_deco5{ margin-top: 0; margin-bottom: 0; } .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{ margin-top: 0; margin-bottom: 0; } .nomadBtn_deco5 a { display: inline-block; text-align: center; background: #55A8DC; color: #FFF; text-decoration: none; font-weight: bold; padding: .8em 2.5em; margin: 15px 0; border-radius: 4px; border-bottom: 4px solid #306DB2; } .nomadBtn_deco5 a:active { transform: translateY(4px); border-bottom: none; background: #4083D0; }
.nomadBtn_deco5{ margin-top: 0; margin-bottom: 0; } .nomadBtn_deco5 a { display: inline-block; text-align: center; background: #E07487; color: #FFF; text-decoration: none; font-weight: bold; padding: .8em 2.5em; margin: 15px 0; border-radius: 4px; border-bottom: 4px solid #B12D41; } .nomadBtn_deco5 a:active { transform: translateY(4px); border-bottom: none; background: #D04D61; }
.nomadBtn_deco5{ margin-top: 0; margin-bottom: 0; } .nomadBtn_deco5 a { display: inline-block; text-align: center; background: #5E8B6D; color: #FFF; text-decoration: none; font-weight: bold; padding: .8em 2.5em; margin: 15px 0; border-radius: 4px; border-bottom: 4px solid #426A4F; } .nomadBtn_deco5 a:active { transform: translateY(4px); border-bottom: none; background: #426A4F; }
.nomadBtn_deco5{ margin-top: 0; margin-bottom: 0; } .nomadBtn_deco5 a { display: inline-block; text-align: center; background: #7B86C6; color: #FFF; text-decoration: none; font-weight: bold; padding: .8em 2.5em; margin: 15px 0; border-radius: 4px; border-bottom: 4px solid #1A212F; } .nomadBtn_deco5 a:active { transform: translateY(4px); border-bottom: none; background: #32415D; }