We would like to know how to create CSS round OK button.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
.round-button {<!--from ww w . j a v a 2 s . c o m-->
display: block;
width: 50px;
height: 50px;
line-height: 50px;
border: 2px solid #f5f5f5;
border-radius: 50%;
color: #f5f5f5;
text-align: center;
text-decoration: none;
background: #464646;
box-shadow: 0 0 3px gray;
font-size: 20px;
font-weight: bold;
}
.round-button:hover {
background: #262626;
}
</style>
</head>
<body>
<a href="http://java2s.com" class="round-button">OK</a>
</body>
</html>
The code above is rendered as follows: