左右が丸いボタン
- RESULT
- HTML
- CSS
- コピー
<p class="msr_btn12"> <a href="#">button01</a> </p>
- コピー
.msr_btn12 a{ width: 180px; padding:15px; color:#ffffff; font-size: 15px; line-height: 120%; text-align: center; text-decoration: none; background: #1B73BA; display: block; position:relative; -webkit-border-radius: 24px; -moz-border-radius: 24px; border-radius: 24px; -webkit-box-shadow:0px 15px 30px -15px rgba(0,0,0,0.3); -moz-box-shadow:0px 15px 30px -15px rgba(0,0,0,0.3); box-shadow:0px 15px 30px -15px rgba(0,0,0,0.3); -webkit-transition: 0.3s ease-out; -moz-transition: 0.3s ease-out; -o-transition: 0.3s ease-out; transition: 0.3s ease-out; } .msr_btn12 a:hover{ opacity:0.7; }
検証済みブラウザ
- Edge
- FF
- chrome
- Safari