CSS Property Value How to - border-radius: 25px








Question

We would like to know how to border-radius: 25px.

Answer


<!DOCTYPE html>
<html>
<head>
<style> 
div {<!--from   w w  w. j a va  2 s.  c  o m-->
    border: 2px solid #a1a1a1;
    padding: 10px 40px; 
    width: 300px;
    border-radius: 25px;
}
</style>
</head>
<body>

<div>Here in your "div" you will see border.</div>

</body>
</html>

The code above is rendered as follows: