<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Figure</title> <style> .transform{ width: 400px; height: 200px; margin-left: 0; transform: rotate(30deg) skew(30deg); transform-origin: center; } .firstBl{ width: 200px; height: 100px; margin-top: 20px; margin-left: 200px; background-color: black; border-radius: 84% 0 0 0; } .innerBl1{ margin-left: 50px; width: 150px; height: 100px; background-color: pink; border-radius: 105% 0 0 0; } .secondBl{ width: 200px; height: 100px; margin-left: 50px; background-color: black; border-radius: 0 0 84% 0; } .innerBl2{ margin-left: 0px; width: 150px; height: 100px; background-color: pink; border-radius: 0 0 105% 0; } </style> </head> <body> <div class="transform"> <div class="firstBl"> <div class="innerBl1"></div> </div> <div class="secondBl"> <div class="innerBl2"></div> </div> </div> </body> </html>