JSFiddle - React, Tailwind, and code Playground
HTML
<body>
<form>
<div class="wrapper">
<div class="header">
<h1>Tell us about your experience!</h1>
</div>
<div class="main">
<div>
<input name="firstName" type="text" placeholder="Type in your first name" value="Pavel"/>
<input name="lastName" type="text" placeholder="Type in your last name" value="Kabir"/>
</div>
<div>
<textarea placeholder="Tell us a little bit about yourself!"></textarea>
</div>
<div>
Did you enjoy our site?
<input name="enjoy" type="radio"/>Yes<input name="enjoy" type="radio"/>No
</div>
<div>
What exactly did you enjoy?
<input type="checkbox">Design</input>
<input type="checkbox">Content</input>
<input type="checkbox" checked>Creator</input>
</div>
<input type="submit"/>
</div>
</div>
</form>
</body>
CSS
.wrapper {
overflow: hidden;
border-top: 2px solid black;
border-left: 2px solid black;
border-right: 2px solid black;
border-bottom: 2px dashed black;
border-top-left-radius: 20px;
border-top-right-radius: 20px;
box-shadow: 2px -2px 5px black;
}
.header {
font-family: Arial;
font-size: 10px;
text-align: center;
background: -webkit-linear-gradient(top, #abcdef, #febcda);
/* border: 1px solid rgba(0,0,0,1); */
}
.main {
}