JSFiddle - React, Tailwind, and code Playground

by confile

HTML

<div class="content">
  <div class="row">    
      <div class="cell">    
          <img src="http://i.stack.imgur.com/apFaX.jpg"/>
      <div>
      <div class="cell">    
          <img src="http://i.stack.imgur.com/3mFzk.jpg"/>
      <div>
  <div>
</div>

CSS

.content {
   	background-color: yellow;    
}

.row {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	
	-webkit-box-orient: horizontal; 
	-moz-box-orient: horizontal;
	box-orient: horizontal;
	flex-direction: row;
	
	-webkit-box-pack: center;
	-moz-box-pack: center;
	box-pack: center;
	justify-content: center;
	
	-webkit-box-align: center;
	-moz-box-align: center;
	box-align: center;  
	align-items: center;
	
	background-color: red;
	
}

.cell {
	-webkit-box-flex: 1;
	-moz-box-flex: 1;
	box-flex: 1;
	-webkit-flex: 1 1 auto;
	flex: 1 1 auto; 
	
	padding: 10px;
	margin: 10px;
	
	background-color: green;
	border: 1px solid red;
	text-align: center;

}