news slider style : demo 31

HTML

                        

CSS

                        

                        .post-slide{
                            margin: 0 10px;
                        }
                        .post-slide .post-info{
                            padding: 5px 0;
                            margin: 0;
                            list-style: none;
                        }
                        .post-slide .post-info li{
                            display: inline-block;
                            margin: 0 5px;
                        }
                        .post-slide .post-info li i{
                            margin-right: 8px;
                        }
                        .post-slide .post-info li a{
                            font-size: 11px;
                            font-weight: bold;
                            color: #7e828a;
                            text-transform: uppercase;
                        }
                        .post-slide .post-info li a:hover{
                            color: #1dcfd1;
                            text-decoration: none;
                        }
                        .post-slide .post-img{
                            position: relative;
                        }
                        .post-slide .post-img:before{
                            content: "";
                            width: 100%;
                            height: 100%;
                            position: absolute;
                            top: 0;
                            left: 0;
                            opacity: 0;
                            background: rgba(0, 0,0,0.6);
                            transition: opacity 0.40s linear 0s;
                        }
                        .post-slide:hover .post-img:before{
                            opacity: 1;
                        }
                        .post-slide .post-img img{
                            width: 100%;
                            height: auto;
                        }
                        .post-slide .read{
                            position: absolute;
                            bottom: 30px;
                            left: 50px;
                            font-size: 14px;
                            color: #fff;
                            text-transform: capitalize;
                            opacity: 0;
                            transition: all 0.40s linear 0s;
                        }
                        .post-slide:hover .read{
                            opacity:1;
                        }
                        .post-slide .read:hover{
                            text-decoration: none;
                            color: #1dcfd1;
                        }
                        .post-slide .post-content{
                            padding: 40px 0;
                            position: relative;
                        }
                        .post-slide .post-author{
                            width: 75px;
                            height: 75px;
                            border-radius: 50%;
                            position: absolute;
                            top: -45px;
                            right: 10px;
                            overflow: hidden;
                            border:4px solid #fff;
                        }
                        .post-slide .post-author img{
                            width: 100%;
                            height: auto;
                        }
                        .post-slide .post-title{
                            font-size: 14px;
                            font-weight: bold;
                            color: #1dcfd1;
                            margin: 0 0 10px 0;
                            text-transform: uppercase;
                            transition: all 0.30s linear 0s;
                        }
                        .post-slide .post-title:after{
                            content: "";
                            width: 25px;
                            display: block;
                            margin-top: 10px;
                            border-bottom: 4px solid #333;
                        }
                        .post-slide .post-description{
                            font-size: 13px;
                            color: #555;
                            margin-bottom:20px;
                        }
                    

JavaScript

(News slider depend on jQuery and Owl carousel.)
                        
                        

                        $(document).ready(function() {
                            $("#news-slider").owlCarousel({
                                items:3,
                                itemsDesktop:[1199,3],
                                itemsDesktopSmall:[1000,2],
                                itemsMobile:[600,1],
                                pagination:false,
                                navigationText:false,
                                autoPlay:true
                            });
                        });
                    
License Terms