Always add a helper class and
.helper{ display:inline-block; height:100%;}
<div class="col_featured-image">
<span class="helper"></span><img src="assets/img/features_tie.png">
// Include gulp | |
var gulp = require('gulp'); | |
// Include Our Plugins | |
var order = require("gulp-order"); | |
var cleanCSS = require('gulp-clean-css'); | |
var strip = require('gulp-strip-comments'); | |
var concat = require('gulp-concat'); | |
var uglify = require('gulp-uglify'); | |
var rename = require('gulp-rename'); |
<div id="" class="portfolio-container"> | |
<div class="portfolio-filter clearfix"> | |
<ul id="portfolioFilters"> | |
<li><a href="javascript:void(0);" data-filter="*">Show All</a></li> | |
<li><a href="javascript:void(0);" data-filter=".web-design">Web Design</a></li> | |
<li><a href="javascript:void(0);" data-filter=".web-development">Web Development</a></li> | |
</ul> | |
</div> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<meta name="robots" content="noindex, nofollow"> | |
<meta name="googlebot" content="noindex, nofollow"> | |
<script type="text/javascript" src="//code.jquery.com/jquery-1.8.3.js"></script> | |
<link rel="stylesheet" type="text/css" href="/css/result-light.css"> |
/* Smooth Back to Top, Get This functionality from: http://wordpress.org/extend/plugins/cudazi-scroll-to-top/ */ | |
jQuery.noConflict(); | |
jQuery(function($) { | |
// When to show the scroll link | |
// higher number = scroll link appears further down the page | |
var upperLimit = 100; | |
// Our scroll link element |
$(document).ready(function() { | |
$('.story-small img').each(function() { | |
var maxWidth = 100; // Max width for the image | |
var maxHeight = 100; // Max height for the image | |
var ratio = 0; // Used for aspect ratio | |
var width = $(this).width(); // Current image width | |
var height = $(this).height(); // Current image height | |
// Check if the current width is larger than the max | |
if(width > maxWidth){ |