![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWMwUYH3vOYh4jMu0bxVr2jv42sFUt5k3z3zk82oqwWF5iMHVPiTq_r4n3621crzF25MMrpt0x3oZJt5k65DPgZe9xoMWjfSA8eW7V6ZvLAnCLDtGU_kPlc808G7Fp1XVHU3g72nkG9ujZjk_Q4cmiqh9JlR33K5MhVGKxGTMn8nOvpK8bJrNRhVUT/s1600/css%20buttun.jpg)
<style>
.button {
background-color: #04AA6D; /* Green */
border: none;
color: white;
padding-top: 7px;
padding-bottom: 7px;
padding-left: 10px;
padding-right: 10px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
.button1 {border-radius: 2px;}
.button2 {border-radius: 4px;}
.button3 {border-radius: 8px;}
.button4 {border-radius: 12px;}
.button5 {border-radius: 50%;}
</style>
<h2>Rounded Buttons</h2>
<p>Add rounded corners to a button with the border-radius property:</p>
<button class="button button1">2px</button>
<button class="button button2">4px</button>
<button class="button button3">8px</button>
<button class="button button4">12px</button>
<button class="button button5">50%</button>
0 Nhận xét