As commented by Robert Longson you need to convert your rect element to a path element to control the rounded corners.
In the following example, I used a cubic bezier curve with the Q
command to make the top left rounded corner (Q1 1 5 1
in the d
attribute):
svg{
height:90vh;
width:auto;
}