timeline style : demo 164

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: 80px;
                        margin: 0 0 30px;
                        float: right;
                        position: relative;
                    }
                    .main-timeline .timeline-content{
                        color: #666;
                        min-height: 120px;
                        padding: 10px 0;
                        border-bottom: 3px solid #80CA1F;
                        display: block; 
                        position: relative;
                    }
                    .main-timeline .timeline-content:hover{ text-decoration: none; }
                    .main-timeline .timeline-content:before{
                        content: '';
                        background: linear-gradient(#C8D801,#80CA1F);
                        height: 140px;
                        width: 60px;
                        transform: translateY(-50%);
                        position: absolute;
                        left: -110px;
                        top: 45%;
                        clip-path: polygon(50% 0, 100% 15%, 80% 15%, 85% 100%, 15% 100%, 15% 15%, 0 15%);
                    }
                    .main-timeline .timeline-year{
                        color: #aaa;
                        background: linear-gradient(#80CA1F,#C8D801);
                        font-size: 27px;
                        text-align: center;
                        height: 110px;
                        width: 110px;
                        padding: 20px 10px;
                        border-radius: 50%;
                        transform: translateY(-50%);
                        position: absolute;
                        left: -135px;
                        top: 50%;
                        z-index: 0;
                    }
                    .main-timeline .timeline-year:before{
                        content: '';
                        background-color: #fff;
                        position: absolute;
                        left: 8px;
                        right: 8px;
                        top: 8px;
                        bottom: 8px;
                        border-radius: 50%;
                        z-index: -2;
                    }
                    .main-timeline .timeline-year span{
                        line-height: 32px;
                        font-weight: 500;
                        display: block;
                    }
                    .main-timeline .title{
                        color: #80CA1F;
                        font-size: 20px;
                        font-weight: 600;
                        letter-spacing: 1px;
                        text-transform: capitalize;
                        margin: 0 0 5px;
                    }
                    .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: 80px;
                        float: left;
                    }
                    .main-timeline .timeline:nth-child(even) .timeline-content:before{
                        left: auto;
                        right: -110px;
                    }
                    .main-timeline .timeline:nth-child(even) .timeline-year{
                        left: auto;
                        right: -135px;
                    }
                    .main-timeline .timeline:nth-child(4n+2) .timeline-content{ border-color: #e0732a; }
                    .main-timeline .timeline:nth-child(4n+2) .timeline-content:before{
                        background: linear-gradient(#FE9202,#e0732a);
                    }
                    .main-timeline .timeline:nth-child(4n+2) .timeline-year{
                        background: linear-gradient(#e0732a,#FE9202);
                    }
                    .main-timeline .timeline:nth-child(4n+2) .title{ color: #e0732a; }
                    .main-timeline .timeline:nth-child(4n+3) .timeline-content{ border-color: #038C6B; }
                    .main-timeline .timeline:nth-child(4n+3) .timeline-content:before{
                        background: linear-gradient(#2ca397,#038C6B);
                    }
                    .main-timeline .timeline:nth-child(4n+3) .timeline-year{
                        background: linear-gradient(#038C6B,#2ca397);
                    }
                    .main-timeline .timeline:nth-child(4n+3) .title{ color: #038C6B; }
                    .main-timeline .timeline:nth-child(4n+4) .timeline-content{ border-color: #057FB4; }
                    .main-timeline .timeline:nth-child(4n+4) .timeline-content:before{
                        background: linear-gradient(#01ADE5,#057FB4);
                    }
                    .main-timeline .timeline:nth-child(4n+4) .timeline-year{
                        background: linear-gradient(#057FB4,#01ADE5);
                    }
                    .main-timeline .timeline:nth-child(4n+4) .title{ color: #057FB4; }
                    @media screen and (max-width:767px){
                        .main-timeline .timeline{
                            width: 100%;
                            padding-left: 140px;
                        } 
                        .main-timeline .timeline:nth-child(even){ padding-right: 140px; } 
                    }
                    @media screen and (max-width:576px){
                        .main-timeline .timeline,
                        .main-timeline .timeline:nth-child(even){
                            padding: 140px 0 0;
                        }
                        .main-timeline .timeline-content{ text-align: center; }
                        .main-timeline .timeline-content:before,
                        .main-timeline .timeline:nth-child(even) .timeline-content:before{
                            transform: translateY(0) translateX(-50%);
                            left: 50%;
                            top: -140px;
                            right: auto;
                        }
                        .main-timeline .timeline-year,
                        .main-timeline .timeline:nth-child(even) .timeline-year{
                            transform: translateY(0) translateX(-50%);
                            left: 50%;
                            top: -118px;
                            right: auto;
                        }
                    }
                    
License Terms