xxxxxxxxxx
<Style TargetType="Button" x:Key="RoundButton">
<Style.Resources>
<Style TargetType="Border">
<Setter Property="CornerRadius" Value="5" />
</Style>
</Style.Resources>
</Style>
xxxxxxxxxx
.btn {
display:block;
height: 300px;
width: 300px;
border-radius: 50%;
border: 1px solid red;
}
xxxxxxxxxx
.btn{
border: none;
padding: 7px 26px;
text-align: center;
color: white;
background: #dc3545;
border-radius: 40px;
}
xxxxxxxxxx
.button {
display: inline-block;
padding: 10px 20px;
background-color: #4CAF50;
border: none;
color: #ffffff;
text-align: center;
text-decoration: none;
font-size: 16px;
border-radius: 10px; /* This property gives rounded corners */
cursor: pointer;
}
xxxxxxxxxx
.btn {
display:block;
height: 300px;
width: 300px;
border-radius: 50%;
border: 1px solid red;
}