I'm struggling with making the image smaller and centering it while keeping its original size. I'm using Bootstrap and need a solution for this issue. How can I make the image centered and shown in its original size?
<div class="container" style="height: 100%;">
<div class="col-sm-4 col-md-4 col-lg-4"></div>
<div class="col-sm-4 col-lg-4" style="height: 100%;display: table;">
<a href="machine1.php" style="display : table-cell;vertical-align: middle;">
<img src="ft/text.png" class="img-responsive" style="min-width:660px;">
</a>
</div>
<div class="col-sm-4 col-md-4 col-lg-4 ">
</div>
.body-wrapper {
background: url('slide2_2.png');
background-size: cover;
height:100%;
}
html, body{
height:100%;
margin:0;
padding:0;
color:white;
}
a:hover{
text-decoration: none;
}
.img-responsive{
float: left;
}
I want the image to be centered both vertically and horizontally with a size of 1366*635