HTML CSS examples for CSS Property:border-radius
Create border with a circle in the corner
<html> <head> <title>Lorem </title> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .wrapper {<!-- w w w.ja v a 2s .c om--> margin:26px; } .square { width:301px; height:100px; border:6px solid Chartreuse; } .circle { width:51px; height:51px; border-radius:51px; background-color:yellow; position:absolute; margin-left:276px; margin-top:-26px; } </style> </head> <body> <div class="wrapper"> <div class="square"> <div class="circle"></div> </div> </div> </body> </html>