timeline style : demo 163

CSS

(Fonts required: Poppins.)
                    .main-timeline{ font-family: 'Poppins', sans-serif; }
                    .main-timeline:after{
                        content: '';
                        display: block;
                        clear: both;
                    }
                    .main-timeline .timeline{
                        width: calc(50% + 1px);
                        padding-left: 60px;
                        margin: 0 0 30px;
                        float: right;
                        position: relative;
                    }
                    .main-timeline .timeline-content{
                        color: #666;
                        min-height: 100px;
                        padding: 10px 15px;
                        border: 1px solid #999;
                        border-right: none;
                        display: block; 
                        position: relative;
                    }
                    .main-timeline .timeline-content:hover{ text-decoration: none; }
                    .main-timeline .timeline-content:before{
                        content: '';
                        background: linear-gradient(-45deg,#EF6D4E 50%,#E74A22 50%);
                        height: 100px;
                        width: 100px;
                        position: absolute;
                        left: -110px;
                        top: -1px;
                    }
                    .main-timeline .timeline-year{
                        color: #fff;
                        font-size: 20px;
                        font-weight: 400;
                        position: absolute;
                        left: -102px;
                        top: 3px;
                    }
                    .main-timeline .timeline-icon{
                        color: #fff;
                        font-size: 30px;
                        position: absolute;
                        left: -48px;
                        top: 55px;
                    }
                    .main-timeline .title{
                        font-size: 20px;
                        font-weight: 400;
                        letter-spacing: 1px;
                        text-transform: uppercase;
                        margin: 0 0 3px;
                    }
                    .main-timeline .description{
                        font-size: 13px;
                        letter-spacing: 1px;
                        line-height: 20px;
                        margin: 0;
                    }
                    .main-timeline .timeline:nth-child(even){
                        padding-left: 0;
                        padding-right: 60px;
                        float: left;
                    }
                    .main-timeline .timeline:nth-child(even) .timeline-content{
                        border: 1px solid #999;
                        border-left: none;
                    }
                    .main-timeline .timeline:nth-child(even) .timeline-content:before{
                        left: auto;
                        right: -110px;
                    }
                    .main-timeline .timeline:nth-child(even) .timeline-year{
                        left: auto;
                        right: -65px;
                    }
                    .main-timeline .timeline:nth-child(even) .timeline-icon{
                        left: auto;
                        right: -98px;
                    }
                    .main-timeline .timeline:nth-child(4n+2) .timeline-content:before{
                        background: linear-gradient(-45deg,#03A89E 50%,#028B7F 50%);
                    }
                    .main-timeline .timeline:nth-child(4n+3) .timeline-content:before{
                        background: linear-gradient(-45deg,#8BC53D 50%,#7EAD37 50%);
                    }
                    .main-timeline .timeline:nth-child(4n+4) .timeline-content:before{
                        background: linear-gradient(-45deg,#C59B69 50%,#AF8A64 50%);
                    }
                    @media screen and (max-width:767px){
                        .main-timeline .timeline{
                            width: 100%;
                            padding-left: 110px;
                        } 
                        .main-timeline .timeline:nth-child(even){ padding-right: 110px; } 
                    }
                    @media screen and (max-width:576px){
                        .main-timeline .timeline,
                        .main-timeline .timeline:nth-child(even){
                            padding: 60px 0 0;
                        }
                        .main-timeline .timeline-content,
                        .main-timeline .timeline:nth-child(even) .timeline-content{
                            text-align: center;
                            border: 1px solid #999;
                            border-bottom: none;
                        }
                        .main-timeline .timeline-content:before,
                        .main-timeline .timeline:nth-child(even) .timeline-content:before{
                            width: 100%;
                            height: 50px;
                            left: 0;
                            right: auto;
                            top: -60px;
                        }
                        .main-timeline .timeline-icon,
                        .main-timeline .timeline:nth-child(even) .timeline-icon{
                            left: 8px;
                            right: auto;
                            top: -55px;
                        }
                        .main-timeline .timeline-year,
                        .main-timeline .timeline:nth-child(even) .timeline-year{
                            font-size: 25px;
                            right: 7px;
                            left: auto;
                            top: -52px;
                        }
                    }
                    
License Terms