|
1 2 3 4 5 6 |
aタグに指定 <a href="#" class="selectBtn">選択</a> inputタグに指定 <form action="#"> <input class="selectBtn" name="input" type="submit" value="選択" /> </form> |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
/* 選択ボタン デザイン上青色グラデーションのボタン */ .selectBtn, a.selectBtn { display: inline-block; cursor: pointer; background: #0058D4; background: -moz-linear-gradient(#639FE8, #0058D4); background: -webkit-gradient(linear, left top, left bottom, from(#639FE8), to(#0058D4)); border: none; color: #FFF; font-weight: 400; font-size: 16px; font-family: "メイリオ", "Meiryo", verdana, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "MS Pゴシック", "MS PGothic", Sans-Serif; text-align: center; line-height: 100%; padding: 18px 0px 16px; width: 7em; } .selectBtnKanri:hover, a.selectBtnKanri:hover { background: #3280E2; background: -moz-linear-gradient(#94BDEF, #3280E2); background: -webkit-gradient(linear, left top, left bottom, from(#94BDEF), to(#3280E2)); text-decoration: none; } |