We would like to know how to add Border Radius to li items.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
li.home {<!--from www.j ava2 s . com-->
background-color: red;
border: 2px solid black;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-border-left: 0px;
-moz-border-left: 0px;
border-left: 0px;
}
</style>
</head>
<body>
<li class="home"><a href="">home</a></li>
</body>
</html>
The code above is rendered as follows: