Hero HTML+CSS

by Vladimir

HTML

<div id="container">
		<div class="hero">
			<article class="item item-1">
				<a href="#">
					<div class="thumb">
						<img src="https://demo.tagdiv.com/newspaper/wp-content/uploads/2017/03/grid1-534x462.jpg" alt="" />
					</div>
					<div class="meta">
						<h3 class="heading">WordPress News Magazine Charts the Most Fashionable New York Women in 2018</h3>
					</div>
				</a>
			</article>
			<div class="wrapper-2">
				<article class="item item-2">
					<a href="#">
						<div class="thumb">
							<img src="https://demo.tagdiv.com/newspaper/wp-content/uploads/2017/03/grid2-533x261.jpg" alt="" />
						</div>
						<div class="meta">
							<h3 class="heading">The Most Anticipated Hotel Openings in Strasbourg this Summer</h3>
						</div>
					</a>
				</article>
				<article class="item item-3">
					<a href="#">
						<div class="thumb">
							<span>
								<img src="https://demo.tagdiv.com/newspaper/wp-content/uploads/2017/03/grid3-265x198.jpg" alt="" />
							</span>
						</div>
						<div class="meta">
							<h3 class="heading">Fashion Photography Helps Raising Funds</h3>
						</div>
					</a>
				</article>
				<article class="item item-4">
					<a href="#">
						<div class="thumb">
							<span>
								<img src="https://demo.tagdiv.com/newspaper/wp-content/uploads/2017/03/grid44-265x198.jpg" alt="" />
							</span>
						</div>
						<div class="meta">
							<h3 class="heading">15 Grooming Techniques Every Man Needs to Know</h3>
						</div>
					</a>
				</article>
			</div>
		</div>
	</div>

CSS

body {
	background: #DDD;
	font-family: "Open Sans", sans-serif;
}
#container {
	width: 1068px;
	margin: 5px auto 0;
	background: #fff;
	overflow: hidden;
	position: relative;
}
.wrapper-2 {
	width: 533px;
}
.thumb img {
	transition: all 300ms;
	width: 100%;
}
.item:hover .thumb img {
	transition: all 300ms;
	transform: scale3d(1.1,1.1,1);
    -webkit-transform: scale3d(1.1,1.1,1);
    -moz-transform: scale3d(1.1,1.1,1) rotate(.02deg);
}

.thumb:after {
	bottom: 0;
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    -webkit-transition: background-color .3s ease;
    -moz-transition: background-color .3s ease;
    -o-transition: background-color .3s ease;
    transition: background-color .3s ease;
    box-sizing: border-box;

    background: -moz-linear-gradient(top,rgba(0,0,0,0) 40%,rgba(0,0,0,.7) 100%);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(40%,rgba(0,0,0,0)),color-stop(100%,rgba(0,0,0,.7)));
    background: -webkit-linear-gradient(top,rgba(0,0,0,0) 40%,rgba(0,0,0,.7) 100%);
    background: -o-linear-gradient(top,rgba(0,0,0,0) 40%,rgba(0,0,0,.7) 100%);
    background: -ms-linear-gradient(top,rgba(0,0,0,0) 40%,rgba(0,0,0,.7) 100%);
    background: linear-gradient(to bottom,rgba(0,0,0,0) 40%,rgba(0,0,0,.7) 100%);
    progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000',endColorstr='#b3000000',GradientType=0);
}
.meta {
	position: absolute;
	bottom: 0px;
	color: #fff;
}
.meta .heading {
	width: 100%;
	padding: 0 5px 5px 10px;
	font-size: 27px;
	line-height: 1.3;
	text-shadow: 1px 1px 3px rgba(0,0,0,.2);
	margin: 0;
	box-sizing: border-box;
}
.item-1,
.item-2,
.item-3,
.item-4,
.wrapper-2 {
	float:left;
	position: relative;
	overflow: hidden;
}
.item-1 {
	width: 532px;
    height: 462px;
    margin-right: 3px;
}
.wrapper-2 {
	width: 533px;
}
.item-2 {
	width: 533px;
    height: 261px;
    margin-bottom: 3px;
}
.item-2 .heading {
	font-size: 24px;
}
.item-3...