You can try this.
css:
body,html{
height:100%;
margin:0;
padding:0;
}
.float-left{
float:left;
}
.block-home{
float:none !important;
margin:auto;
height:250px;
background-color:red;
position:relative;
}
.col-md-6.text-center{
height: 100%;
float: right;
}
.text-center h2{
font-size:26px;
}
.image-class{
position: absolute;
top: 0;
height: 75%;
background: #afb8bf;
font-family: monospace;
background-position: center center;
left: -8%;
top: 50%;
transform: translateY(-50%);
background-image: url(https://top13.net/wp-content/uploads/2014/11/7-small-flowers.jpg);
background-size: cover;
}
@media only screen and (max-width : 760px) and (min-width : 480px) {
.image-class {
top: 0;
height: 50%;
background: #afb8bf;
font-family: monospace;
background-position: center center;
left: 24%;
display: block;
transform: translateY(-25%);
background-image: url(https://top13.net/wp-content/uploads/2014/11/7-small-flowers.jpg);
background-size: cover;
}
.col-md-6.text-center {
height: 50%;
}
}
HTML:
<div class="container-fluid">
<section class="block-home col-lg-6 col-md-6 col-sm-6 col-xs-12 ">
<div class="image-class col-lg-6 col-md-6 col-sm-6 col-xs-6">
</div>
<section class="text-center col-lg-6 col-md-6 col-sm-6 col-xs-12">
<h2>Lorem ipsum dolor sit amet</h2>
<p>Lorem ipsum dolor sit amet, sapien etiam, nunc amet dolor ac odio
mauris justo. Lorem ipsum dolor sit amet, sapien etiam, nunc amet dolor ac odio mauris justo.</p>
</section>
</section>
</div>
And import bootstrap cdn.