Block with Content Slider

Card/Widget/Block with Content Slider made with Slick and JQuery

Below you can find an example of responsive block with content slider made with Slick. This block can be a part of articles overview page, or any other place where you need such content structure. It can be used together with any HTML/CSS Framework, like Twitter Bootstrap, Zurb Foundation, Skeleton and others.

All fields below are editable. You can experiment with the code and see the result instantly:
<div class="container">
<div class="cs-block">
<div class="block-content">
<div class="block-slider">
<div class="content-slide">
<h2 class="slide-header">4 Foods to Eat to be Healthy</h2>
<p>
These diet additions can help you with losing weight and improve your health.
</p>
</div>
<div class="content-slide">
<h2 class="slide-header">10 Excercises to Start Your Day</h2>
<p>
Before you start your day, treat yourself with this routine to be fit, healthy and energized throughout the day.
</p>
</div>
<div class="content-slide">
<h2 class="slide-header">Gym Motivation</h2>
<p>
Everyone is motivated in a different way. Explore the type of motivation that is best for.
</p>
</div>
<div class="content-slide">
<h2 class="slide-header">5 Reasons You Are Always Tired</h2>
<p>
Explore things you do that exhaust you both physically and mentally.
</div>
</div>
</div>
</div>
</div>
HTML
@charset "UTF-8";

@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700');

@font-face {
font-family: "content-blocks";
src:url("/fonts/content-blocks.eot");
src:url("/fonts/content-blocks.eot?#iefix") format("embedded-opentype"),
url("/fonts/content-blocks.woff") format("woff"),
url("/fonts/content-blocks.ttf") format("truetype"),
url("/fonts/content-blocks.svg#content-blocks") format("svg");
font-weight: normal;
font-style: normal;

}

[data-icon]:before {
font-family: "content-blocks" !important;
content: attr(data-icon);
font-style: normal !important;
font-weight: normal !important;
font-variant: normal !important;
text-transform: none !important;
speak: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

[class^="icon-"]:before,
[class*=" icon-"]:before {
font-family: "content-blocks" !important;
font-style: normal !important;
font-weight: normal !important;
font-variant: normal !important;
text-transform: none !important;
speak: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

.icon-caret-left:before {
content: "\65";
}
.icon-caret-right:before {
content: "\66";
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

/* Layout */

body {
font-family: 'Montserrat', sans-serif;
background: #f1f1f1;
}

.container {
padding: 0 20px;
max-width: 350px;
margin: 30px auto 0;
}

/* Stacked date Block Styles */

.cs-block {
border: 1px solid #ddd;
background: #fff;
margin-bottom: 30px;
position: relative;
}

.cs-block .block-content {
padding: 20px;
font-size: 15px;
color: #999;
line-height: 23px;
}

.cs-block .block-slideshow {
position: relative;
margin-bottom: 25px;
}

.cs-block .content-slide {
height: 200px;
padding: 0 20px;
text-align: center;
display: flex;
justify-content: center;
flex-direction: column;
text-align: center;
}

.cs-block .slide-header {
font-size: 16px;
font-weight: 700;
margin-bottom: 15px;
color: #333;
text-transform: uppercase;
}

.cs-block .slick-dots {
display: block;
width: 100%;
padding: 0;
list-style: none;
text-align: center;
margin-top: 15px;
line-height:10px;
}

.cs-block .slick-dots li {
position: relative;
display: inline-block;
width: 10px;
height: 10px;
margin: 0 5px;
padding: 0;
cursor: pointer;
vertical-align: top;
}

.cs-block .slick-dots li button {
font-size: 0;
line-height: 0;
display: block;
width: 10px;
height: 10px;
padding: 5px;
cursor: pointer;
color: transparent;
border: 0;
outline: none;
background: #ccc;
border-radius:50%;
}

.cs-block .slick-dots li button:hover,
.cs-block .slick-dots li button:focus {
outline: none;
}

.cs-block .slick-dots li.slick-active button {
background: orange;
}

.cs-block .slick-prev,
.cs-block .slick-next {
position: absolute;
bottom: 5px;
display: table-cell;
vertical-align: baseline;
width: 15px;
height: 15px;
padding: 7px 0;
cursor: pointer;
color: #333;
border: none;
outline: none;
z-index: 1;
font-size: 17px;
opacity: 0.75;
text-align: center;
}

.cs-block .slick-prev:hover,
.cs-block .slick-next:hover {
opacity: 1;
}

.cs-block .slick-prev {
left: 7px;
}

.cs-block .slick-next {
right: 7px;
}
CSS
$(document).ready(function(){
$('.block-slider').slick({
dots: true,
prevArrow: '<a type="button" class="slick-prev"><i class="icon-caret-left"></i></a>',
nextArrow: '<a type="button" class="slick-next"><i class="icon-caret-right"></i></a>',
autoplay: true,
autoplaySpeed: 2000,
infinite: true
});
});
JavaScript/jQuery 1.x
Plugins used:
jQuery Apache 2.0
Slick MIT
Browser support:
           
11+