答案 0 :(得分:1)
border-radius: Xpx;
并设定
Hover
按钮
答案 1 :(得分:0)
.container{
display: inline-block;
border:1px solid lightgray;
border-radius:40px;
}
input[name=radio]{
display: none;
}
label{
display: inline-block;
width: 100px;
height: 40px;
text-align: center;
line-height: 40px;
border-radius: 40px;
cursor: pointer;
}
input:checked + label{
background-color: skyblue;
color: white;
}

<div class="container">
<input type="radio" name="radio" id="radio-1" checked/>
<label for="radio-1">Round</label>
<input type="radio" name="radio" id="radio-2" />
<label for="radio-2">One Way</label>
<input type="radio" name="radio" id="radio-3" />
<label for="radio-3">Multi</label>
</div>
&#13;