<!doctype html> <html><head> <title>Corners different</title> <style> .div1 { width: 50px; height: 50px; border: 10px solid black; border-radius: 10px 10px 6px 6px; position: absolute; background: black; left: 50px; top: 50px; } </style> </head> <body> <div class="div1"></div> </body></html>