You'll have to use multiple divs to achieve what you're trying to make it look like. Some of the borders will have to be hidden, and you'll need to set overflow-x and overflow-y rules to cut out pieces of each shape div that you don't need. It's possible but I don't know if it would be worth the effort. Another solution would be to make an image with that shape and for the curved portion on the right, if you want it to be directly aligned with the circular scribbly shape then you'd need to position it properly, and also make sure the image doesn't have a background, it will display as a square/rectangle no matter what you do