<section>
<div class="btn btn__15">
<a href="#">1-15.拡大する</a>
</div>
</section>
section{
display: flex;
margin:2rem;
justify-content: center;
align-items: center;
}
.btn a {
display: inline-block;
text-decoration: none;
border: 2px solid #333;
color: #333;
padding: .7rem 1.5rem;
transition: .2s;
}
.btn.btn__15 a {
transition: .3s;
}
.btn.btn__15 a:hover {
transform: scale(1.1);
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.