マテリアルなボタン
- RESULT
- HTML
- CSS
- コピー
<p class="msr_btn05"> <a href="#">button01</a> </p>
- コピー
.msr_btn05 { border-radius: 3px; box-sizing: border-box; box-shadow: 0px 2px 2px rgba(0,0,0,0.2); -moz-box-shadow: 0px 2px 2px rgba(0,0,0,0.2); -webkit-box-shadow: 0px 2px 2px rgba(0,0,0,0.2); width: 230px; } .msr_btn05 a { background-color: #1B73BA; border-radius: 3px; color: #FFFFFF; display: block; font-size: 13px; 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_btn05 a:before { background-image: url(/stylerecipe_img/material_arrow_white01.png); background-repeat: no-repeat; box-sizing: border-box; content: ""; display: inline-block; height: 10px; margin-right: 10px; vertical-align:0px; width: 6px; } /* マウスオーバー */ .msr_btn05 a:hover { background-color: #469de4; }
検証済みブラウザ
- IE9
- IE10
- Edge
- FF
- chrome
- Safari