マテリアルなボタン 02
- RESULT
- HTML
- CSS
- コピー
<p class="msr_btn06"> <a href="#">button02</a> </p>
- コピー
.msr_btn06 a { background-color: #F8F8F8; border-radius: 3px; 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); box-sizing: border-box; color: #1B73BA; display: block; font-size: 13px; padding: 13px 10px 13px 30px; 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; width: 230px; } .msr_btn06 a:before { background-image: url(/stylerecipe_img/material_arrow_blue01.png); background-repeat: no-repeat; box-sizing: border-box; content: ""; display: inline-block; height: 10px; left: 15px; margin:-5px 0 0; position: absolute; top: 50%; vertical-align: middle; width: 6px; } /* マウスオーバー */ .msr_btn06 a:hover { background-color: #daecfa; }
検証済みブラウザ
- IE9
- IE10
- Edge
- FF
- chrome
- Safari