JSFiddle - React, Tailwind, and code Playground
HTML
<div class="peach_bg">
<img class="image1" src="https://5.imimg.com/data5/VN/YP/MY-33296037/orange-600x600-500x500.jpg"
alt="face of preservex">
<div class="content">
<h2>The timeless beauty of natural formaldehyde.</h2>
<h2>Do you ever look in the mirror and wish you could stay young forever?</h2>
<h2>With PreserveX, you can.</h2>
</div>
</div>
CSS
@import url('https://fonts.googleapis.com/css?family=Playfair+Display&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #f2f2f2;
}
h2 {
font-family: "Playfair Display", serif;
font-weight: 400;
color: #ee559b;
/* float: right; */
display: block;
}
.peach_bg {
background-color: #f3e4dc;
padding: 90px;
display: flex;
justify-content: space-between;
align-items: center;
}
.image1 {
/* margin: 0 0 0 300px;
position: relative;
top: -90px;
height: 400px; */
max-width: 100%;
display: block;
}
.content {
text-align: center;
margin: 0 20px;
}