We would like to know how to create circle shape with border-radius.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
.cercle {<!--from ww w .j ava 2 s . c om-->
background: #303030;
color: #fff;
margin: 100px auto;
width: 100px;
height: 100px;
border-radius: 50%;
}
</style>
</head>
<body>
<div class="cercle"></div>
</body>
</html>
The code above is rendered as follows: