HTML CSS examples for CSS Widget:Shape
Rectangle with circle end
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> li {<!--from ww w. ja v a 2 s . c o m--> display:block; float:left; width:34%; margin:0 0 0 -21px; background-color:Chartreuse; text-indent:41px; } li.active{ } li.active span { background-color:yellow; } li span { display:inline-block; border:2px solid blue; border-radius:0 16px 16px 0; padding-right:11px; } </style> </head> <body> <ol> <li> <span>Lorem </span> </li> <li class="active"> <span>Lorem </span> </li> <li> <span>Lorem </span> </li> </ol> </body> </html>