I'm trying to modify a Squarespace contact form so that the input fields are on the right hand side while the title and description are stacked on top of each other on the left hand side. I imagine this is possible with flexbox but I'm struggling to figure out exactly how.
.title, .description, .field-element {
background-color: rgba(84, 97, 156, 0.2);
padding: 20px;
margin: 5px;
border-radius: 4px;
color: rgb(84, 97, 156);
display: flex;
}
.description {
color: rgba(84, 97, 156, 0.5);
}
<div class="field-list">
<div class="title">Your Name</div>
<div class="description">Please provide your name</div>
<div class="field-element"><input placeholder="John Smith" /></div>
</div>