JSFiddle - React, Tailwind, and code Playground
HTML
<div class="container">
<div class="item">
<div class="inner">
<iframe src="http://jsfiddle.net/"></iframe>
</div>
</div>
<div class="item">
<div class="inner">
<div class="box">testsetst</div>
</div>
</div>
</div>
CSS
.container{
overflow: auto;
height: 150px;
}
.item{
overflow:hidden;
height: 150px;
width: 200px;
float: left;
}
.inner{
border: 1px solid red;
width: 850px;
height: 450px;
transform: scale(0.15);
-webkit-transform: scale(0.15);
transform-origin: 0 0;
-webkit-transform-origin: 0 0;
background-color: transparent;
}
.box{
width: 300px;
height: 300px;
background-color: blue;
}