Copy <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://code.jquery.com/jquery.js"></script>
<script type="text/javascript" src="jquery.lazy.min.js"></script>
<title>Document</title>
<style type="text/css">
@keyframes background-loading {
from {
background-position: -10000% 0, 0 0;
}
to {
background-position: 10000% 0, 0 0;
}
}
.post-thumbnail {
position: relative;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
figure.image-container {
display: block;
position: relative;
height: 0;
-webkit-animation-name: background-loading;
animation-name: background-loading;
-webkit-animation-duration: 1s;
animation-duration: 1s;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
background-color: #fff;
background-repeat: no-repeat;
background-image: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0)), linear-gradient(#e5e5e5 100%, transparent 0);
background-size: 99% 100%, cover;
}
figure.image-container img {
position: absolute;
top: 0;
left: 0;
width: 100%;
display: none;
}
</style>
</head>
<body>
<div class="post-thumbnail">
<a href="http://localhost/wordpress4/2018/12/20/taking-pictures-while-travelling-places/">
<figure class="image-container" style="padding-bottom: 73.2422%;">
<img width="1024" height="750" alt="Taking pictures while travelling places" class="mb-thumbnail" sizes="(max-width: 1024px) 100vw, 1024px" src="http://localhost/wordpress4/wp-content/uploads/2018/12/woman-wearing-knitted-top-1139797.jpg" srcset="http://localhost/wordpress4/wp-content/uploads/2018/12/woman-wearing-knitted-top-1139797.jpg 1024w, http://localhost/wordpress4/wp-content/uploads/2018/12/woman-wearing-knitted-top-1139797-300x220.jpg 300w, http://localhost/wordpress4/wp-content/uploads/2018/12/woman-wearing-knitted-top-1139797-768x563.jpg 768w">
</figure>
</a>
</div>
<script type="text/javascript">
jQuery(document).ready(function($) {
$(function() {
$('.lazy').lazy();
});
});
</script>
</body>
</html>