<header class="container">
		<h1 class="main-title">Lifestyle</h1>
		<p class="sub-title">The latest and best lifstyle articles selected by our editorial office.</p>
	</header>
	<div class="news container">
		<div class="box vertical box1">
			<div class="genre">Food</div>
			<h3 class="title">Wake Up and Smell the Coffee</h3>
			<a href="#" class="read-btn">Read for $0.99</a>
		</div>
		<div class="box horizontal box2">
			<div class="genre">Architecture</div>
			<h3 class="title">The Brand New Nasa Office</h3>
			<a href="#" class="read-btn">Read for $0.99</a>
		</div>
		<div class="box horizontal box3">
			<div class="genre">Travel</div>
			<h3 class="title">Edperience the Saharan Sands</h3>
			<a href="#" class="read-btn">Read for $0.99</a>
		</div>
		<div class="box horizontal box4">
			<div class="genre">Interior</div>
			<h3 class="title">9 Air-Cleaning Plants Your Home Needs</h3>
			<a href="#" class="read-btn">Read for $0.99</a>
		</div>
		<div class="box horizontal box5">
			<div class="genre">Food</div>
			<h3 class="title">One Month Sugar Detox</h3>
			<a href="#" class="read-btn">Read for $0.99</a>
		</div>
		<div class="box vertical box6">
			<div class="genre">Photography</div>
			<h3 class="title">Shooting Minimal Instagram Photos</h3>
			<a href="#" class="read-btn">Read for $0.99</a>
		</div>
	</div>
body{
	font-family: Helvetica;
}
a{
	text-decoration: none;
}

h1.main-title{
	font-size: 2.5em;
	margin-bottom: 0;
}
h3.title{
	font-size: 1.8em;
	margin-top: 10px;
	max-width: 250px;
}
.genre{
	text-transform: uppercase;
	font-size: 12px;
	opacity:0.6;
}

p.sub-title{
	margin-top: 5px;
	margin-bottom: 30px;
	width: 250px;
	font-size: 14px;
	line-height: 18px;
	color: #4f4f4f;
	font-weight: lighter;
}


.container{
	width: 960px;
	margin: auto;
	@media (max-width: 980px) {
         width: 100%;
    }
}
.news {
	display: grid;
	grid-gap: 30px;
	grid-template-columns: repeat(4, 1fr);
  	grid-template-rows: repeat(3,200px);
  	@media (max-width: 980px) {
         grid-template-rows: repeat(7,200px);
    }
}
.box{
	background-color: grey;
	border-radius: 10px;
	padding: 20px;
	color:white;
	position: relative;
	@media (max-width:980px){
		 background-size: 120%;
	}
	
}
.read-btn{
	background-color: white;
	font-size: 12px;
	padding: 8px 20px;
	border-radius: 15px;
	position: absolute;
	bottom: 15px;
	transition: transform .2s ease-in-out;
	&:hover{
		transform: translateX(5px);
	}
}
.box{
	background-position: center;
	transition: box-shadow .2s ease-in-out;
}
.box1{
	grid-column: 1/3;
	background-image: url(http://meraktakal.com/codepen/img7.png);
	box-shadow: 3px 3px 20px 0px rgba(59,168,163,0.25);
	@media (max-width: 980px) {
         grid-column: 1/6;
         grid-row: 1 / 2;
    }
	&:hover{
		box-shadow: 3px 3px 20px 0px rgba(59,168,163,0.55);
	}
	.read-btn{
		color:#7bb0ad;
	}
}
.box2{
	grid-column: 3 / 4;
  	grid-row: 1 / 3;
  	background-image: url(http://meraktakal.com/codepen/img6.png);
  	box-shadow: 3px 3px 20px 0px rgba(2,48,76,0.25);
  	@media (max-width: 980px) {
         grid-column: 1/6;
         grid-row: 2 / 3;
    }
  	&:hover{
  		box-shadow: 3px 3px 20px 0px rgba(2,48,76,0.55);
  	}
  	.read-btn{
  		color:#152532;
  	}
}
.box3{
	grid-column: 4 / 5;
  	grid-row: 1 / 3;
  	background-image: url(http://meraktakal.com/codepen/img2.png);
  	box-shadow: 3px 3px 20px 0px rgba(73,34,2,0.25);
  	@media (max-width: 980px) {
         grid-column: 1/6;
         grid-row: 3 / 4;
    }
  	&:hover{
  		box-shadow: 3px 3px 20px 0px rgba(73,34,2,0.55);
  	}
  	.read-btn{
  		color:#cd935b;
  	}
}
.box4 {
	grid-column: 1 / 2;
	grid-row: 2 / 4;
	background-image: url(http://meraktakal.com/codepen/img4.png);
	box-shadow: 3px 3px 20px 0px rgba(60,162,186,0.25);
	@media (max-width: 980px) {
         grid-column: 1/6;
         grid-row: 4 / 5;
    }
	&:hover{
		box-shadow: 3px 3px 20px 0px rgba(60,162,186,0.55);
	}
	.read-btn{
  		color:#43acc9;
  	}
}

.box5 {
	grid-column: 2 / 3;
	grid-row: 2 / 4;
	background-image: url(http://meraktakal.com/codepen/img5.png);
	box-shadow: 3px 3px 20px 0px rgba(255,131,199,0.25);
	@media (max-width: 980px) {
         grid-column: 1/6;
         grid-row: 5 / 6;
    }
	&:hover{
		box-shadow: 3px 3px 20px 0px rgba(255,131,199,0.55);
	}
	.read-btn{
  		color:#fea0a5;
  	}
}
.box6 {
	grid-column: 3 / 5;
	grid-row: 3 / 4;
	background-image: url(http://meraktakal.com/codepen/img1.png);
	box-shadow: 3px 3px 20px 0px rgba(60,162,186,0.25);
	@media (max-width: 980px) {
         grid-column: 1/6;
         grid-row: 6 / 7;
    }
	&:hover{
		box-shadow: 3px 3px 20px 0px rgba(60,162,186,0.55);
	}
	.read-btn{
  		color:#63bdfe;
  	}
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.