JSFiddle - React, Tailwind, and code Playground
by cherryflavourpez
HTML
<div class="row clearfix">
<div class="column span-4-12">
<div class="property">
<p>Some text 1</p>
</div>
</div>
<div class="column span-4-12">
<div class="property">
<p>Some text 2</p>
</div>
</div>
<div class="column span-4-12">
<div class="property">
<p>Some text 3</p>
</div>
</div>
</div>
CSS
*, *:before, *:after {
margin: 0;
padding: 0;
-webkit-box-sizing: border-box !important;
-moz-box-sizing: border-box !important;
-ms-box-sizing: border-box !important;
box-sizing: border-box !important;
}
body {
background: grey;
}
.row {
clear: both;
margin-left: -2%;
}
.clearfix:before,
.clearfix:after {
content:"";
display:table;
}
.clearfix:after {
clear:both;
}
.clear {
zoom:1;
}
.column {
float:left;
}
.span-4-12 {
width: 33.33%;
padding-left: 2%;
}
.property {
background: white;
}