HTML CSS examples for CSS Widget:Shape
Put two divs shaped as circles next to each other
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #circle {<!--from w w w .j a va 2s.com--> background-color:Chartreuse; width:51px; height:51px; border-radius:26px; z-index:11; margin-left:26px; } #circle1 { background-color:yellow; width:51px; height:51px; border-radius:26px; z-index:11; margin-left:26px; } </style> </head> <body> <div id="circle1"> <div id="circle"> </div> </div> </body> </html>