how to make curved button in css code example

Example 1: round button css

.btn {
  display:block;
  height: 300px;
  width: 300px;
  border-radius: 50%;
  border: 1px solid red;
  
}

Example 2: button edges rounded css

button {
  border-radius: 25px;
}

Example 3: how to make a rounded button

<Style TargetType="Button" x:Key="RoundButton">
    <Style.Resources>
        <Style TargetType="Border">
            <Setter Property="CornerRadius" Value="5" />
        </Style>
    </Style.Resources>
</Style>

Example 4: css button style rectangle

<div class="placeholder-box">
  <button type="button"> Button Text Here </button>
  <p>Nunc condimentum mauris elit</p>
  <ul>
    <li>Duis quis eros felis</li>
    <li>Nulla facilisi</li>
  </ul>
</div>

Tags:

Css Example