無難なボタン
- RESULT
- HTML
- CSS
- コピー
<p class="msr_btn01"> <a href="#">button01</a> </p>
- コピー
.msr_btn01 { border: 1px solid #AAAAAA; border-radius: 3px; box-sizing: border-box; width: 230px; } .msr_btn01 a { background: linear-gradient(#FEFEFE, #F3F5F5); background: -o-linear-gradient(#FEFEFE, #F3F5F5); background: -ms-linear-gradient(#FEFEFE, #F3F5F5); background: -moz-linear-gradient(#FEFEFE, #F3F5F5); background: -webkit-linear-gradient(#FEFEFE, #F3F5F5); background: -webkit-gradient(linear, left top, left bottom, color-stop(1.00, #F3F5F5), color-stop(0.00, #FEFEFE)); border: 1px solid #fff; border-radius: 3px; color: #000000; display: block; font-size: 13px; font-weight: bold; padding: 13px 10px; position: relative; text-align: center; text-decoration: none; transition: 0.2s ease-in-out; -o-transition: 0.2s ease-in-out; -moz-transition: 0.2s ease-in-out; -webkit-transition: 0.2s ease-in-out; } .msr_btn01 a:hover { opacity: 0.6; } .msr_btn01 a:before { background-image: url(/stylerecipe_img/arrow_blue.png); background-repeat: no-repeat; content: ""; display: block; display: inline-block; height: 12px; padding: 0 10px 2px 0; vertical-align: middle; width: 6px; }
検証済みブラウザ
- IE10
- Edge
- FF
- chrome
- Safari