<section>
<div class="btn btn__11">
<a href="#">1-11.角丸から四角</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__11 a {
transition: .5s;
border-radius: 50px;
}
.btn.btn__11 a:hover {
border-radius: 0;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.