HTML CSS examples for CSS Widget:Shape
Create perfect circle with border-radius
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .badge {<!--from www.j a va 2 s . c o m--> display: inline-block; padding: 0; font-size: 12px; font-weight: lighter !important; line-height: 50px; color: #fff !important; text-align: center; white-space: nowrap; vertical-align: baseline; background-color: #d73d33; border-radius:50px; position: relative; top: -3px; height: 50px; width: 50px; } </style> </head> <body> <span class="badge badge-success">8 </span> </body> </html>