JSFiddle - React, Tailwind, and code Playground
HTML
<div class="wrapper">
<div class="content">
<p>Bacon ipsum dolor sit amet turducken ham kevin filet mignon, corned beef ham hock porchetta drumstick rump chuck pancetta. Flank brisket pork belly turkey pastrami salami. Salami andouille meatball fatback pork chop turkey jowl. Pork chop tenderloin t-bone, ribeye strip steak shoulder turducken meatloaf pork belly. Pork loin t-bone bacon filet mignon chuck, frankfurter jerky sausage drumstick meatloaf swine short ribs.</p>
</div>
<div class="polaroid one">
<img src="http://placebacn.com/100/200" />
</div>
</div>
<div class="wrapper">
<div class="content">
<p>Bacon ipsum dolor sit amet turducken ham kevin filet mignon, corned beef ham hock porchetta drumstick rump chuck pancetta. Flank brisket pork belly turkey pastrami salami. Salami andouille meatball fatback pork chop turkey jowl. Pork chop tenderloin t-bone, ribeye strip steak shoulder turducken meatloaf pork belly. Pork loin t-bone bacon filet mignon chuck, frankfurter jerky sausage drumstick meatloaf swine short ribs.</p>
</div>
<div class="polaroid two">
<img src="http://placebacn.com/100/200" />
</div>
</div>
CSS
.wrapper {
max-width: 600px;
margin: 20px 0;
border: 1px solid grey;
}
.content, .polaroid {
display: inline-block;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.content {
vertical-align: top;
width: 455px;
padding: 0 15px;
}
.polaroid {
width: 100px;
}
.polaroid img {
border: 2px solid red;
}
.polaroid.one {
-webkit-transform: rotate(-170deg);
transform: rotate(-170deg);
margin: 0 15px;
}
.polaroid.two {
-webkit-transform: rotate(-190deg);
transform: rotate(-190deg);
margin: 0 20px;
}