I was able to do with transform: translateY
. I created the .vertical class, and put it in <div>
that you want to align vertically.
.vertical {
transform: translateY(50%);
}
Run the Snipper in "All Page" to see working fine. Well it is with the Bootstrap classes according to the code that you have posted ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Page Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" media="screen" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" />
<link rel="stylesheet" type="text/css" media="screen" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
<style>
@media screen and (min-width: 768px) {
.vertical{
transform: translateY(50%);
}
}
</style>
</head>
<body>
<div class="row">
<div class="col-md-3 col-ms-3 col-xs-3">
<img src="http://placecage.com/50/150"style="height: 100%; width: 100%;">
</div>
<div class="col-md-3 col-ms-3 col-xs-3">
<img src="http://placecage.com/50/150"style="height: 100%; width: 100%;">
</div>
<div class="col-md-3 col-ms-3 col-xs-3">
<img src="http://placecage.com/50/150"style="height: 100%; width: 100%;">
</div>
<div class="col-md-3 col-ms-3 col-xs-3 vertical">
<img src="http://placecage.com/50/150"style="height: 100%; width: 100%;">
</div>
</div>
<div class="row">
<div class="col-md-3 col-ms-3 col-xs-3">
<img src="http://placecage.com/50/150"style="height: 100%; width: 100%;">
</div>
<div class="col-md-3 col-ms-3 col-xs-3">
<img src="http://placecage.com/50/150"style="height: 100%; width: 100%;">
</div>
<div class="col-md-3 col-ms-3 col-xs-3">
<img src="http://placecage.com/50/150"style="height: 100%; width: 100%;">
</div>
</div>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script><scriptsrc="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</body>
</html>
NOTE: In order not to give error on different screens you can put in the div the sizes for each screen (col-md-3 col-ms-3 col-xs-3) , like this:
<div class="col-md-3 col-ms-3 col-xs-3 vertical">
<img src="http://placecage.com/50/150"style="height: 100%; width: 100%;">
</div>