HTML CSS examples for CSS Widget:Shape
Background-color for circle
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .label {<!-- w ww.j a va 2 s .co m--> padding: 0 !important; list-style: none !important; } .my { display: inline !important; padding: 10px; margin: 4px; color: #fff !important; background-color: blue; border: none; border-radius: 3px; } .my__remove { display: inline-block; line-height: 14px; text-align: center; width: 15px; height: 15px; margin-right: 10px; padding: 3px; color: #2ecc71 !important; font-weight: 900; background-color: #fff; border: none; border-radius: 50%; } </style> </head> <body> <ul class="label"> <li class="my"> <span class="my__remove">test test</span> Abc</li> </ul> </body> </html>