timeline style : demo 100

CSS

(Fonts required: Poppins.)
                        .main-timeline{
                            font-family: 'Poppins', sans-serif;
                            position: relative;
                        }
                        .main-timeline:after{
                            content: '';
                            display: block;
                            clear: both;
                        }
                        .main-timeline .timeline{
                            width: calc(50% + 50px);
                            margin: 0 0 20px 20px;
                            float: right;
                        }
                        .main-timeline .timeline-content{
                            color: #000;
                            background: radial-gradient(rgba(255,255,255,0.8),rgba(255,255,255,0.5),transparent);
                            text-align: center;
                            min-height: 100px;
                            padding: 10px 90px 10px 110px;
                            border-radius: 30px;
                            border: 3px solid #d1d1d1;
                            display: block;
                            position: relative;
                        }
                        .main-timeline .timeline-content:hover{ text-decoration: none; }
                        .main-timeline .timeline-content:before,
                        .main-timeline .timeline-content:after{
                            content: '';
                            border: 3px solid #d1d1d1;
                            border-radius: 30px;
                            position: absolute;
                            left: -3px;
                            top: -3px;
                            bottom: -3px;
                            right: 55px;
                        }
                        .main-timeline .timeline-content:after{
                            background: linear-gradient(#eb4d4b,#ff7979,#eb4d4b);
                            width: 100px;
                            right: auto;
                        }
                        .main-timeline .timeline-year{
                            color: #fff;
                            font-size: 30px;
                            font-weight: 600;
                            width: 93px;
                            transform: translateY(-50%);
                            position: absolute;
                            left: 0;
                            top: 50%;
                            z-index: 1;
                            
                        }
                        .main-timeline .timeline-icon{
                            color: #eb4d4b;
                            font-size: 33px;
                            transform: translateY(-50%);
                            position: absolute;
                            right: 11px;
                            top: 50%;
                        }
                        .main-timeline .title{
                            color: #eb4d4b;
                            font-size: 18px;
                            font-weight: 700;
                            text-transform: uppercase;
                            letter-spacing: 1px;
                            margin: 0 0 5px;
                        }
                        .main-timeline .description{
                            font-size: 13px;
                            letter-spacing: 1px;
                            margin: 0;
                        }
                        .main-timeline .timeline:nth-child(even){
                            float: left;
                            margin: 0 20px 20px 0;
                        }
                        .main-timeline .timeline:nth-child(even) .timeline-content{ padding: 10px 110px 10px 90px; }
                        .main-timeline .timeline:nth-child(even) .timeline-content:before{
                            left: 55px;
                            right: -3px;
                        }
                        .main-timeline .timeline:nth-child(even) .timeline-content:after{
                            left: auto;
                            right: -3px;
                        }
                        .main-timeline .timeline:nth-child(even) .timeline-year{
                            right: 0;
                            left: auto;
                        }
                        .main-timeline .timeline:nth-child(even) .timeline-icon{
                            right: auto;
                            left: 12px;
                        }
                        .main-timeline .timeline:nth-child(4n+2) .timeline-content:after{
                            background: linear-gradient(#22a6b3,#7ed6df,#22a6b3);
                        }
                        .main-timeline .timeline:nth-child(4n+2) .timeline-icon,
                        .main-timeline .timeline:nth-child(4n+2) .title{
                            color: #22a6b3;
                        }
                        .main-timeline .timeline:nth-child(4n+3) .timeline-content:after{
                            background: linear-gradient(#6ab04c,#badc58,#6ab04c);
                        }
                        .main-timeline .timeline:nth-child(4n+3) .timeline-icon,
                        .main-timeline .timeline:nth-child(4n+3) .title{
                            color: #6ab04c;
                        }
                        .main-timeline .timeline:nth-child(4n+4) .timeline-content:after{
                            background: linear-gradient(#da59f7,#e056fd,#da59f7);
                        }
                        .main-timeline .timeline:nth-child(4n+4) .timeline-icon,
                        .main-timeline .timeline:nth-child(4n+4) .title{
                            color: #da59f7;
                        }
                        @media screen and (max-width:767px){
                            .main-timeline .timeline{ width: 100%; }
                            .main-timeline .timeline .timeline-content,
                            .main-timeline .timeline:nth-child(even) .timeline-content{
                                padding: 60px 10px 55px 10px;
                            }
                            .main-timeline .timeline .timeline-content:before,
                            .main-timeline .timeline:nth-child(even) .timeline-content:before{
                                right: -3px;
                                left: -3px;
                                bottom: 40px;
                            }
                            .main-timeline .timeline .timeline-content:after,
                            .main-timeline .timeline:nth-child(even) .timeline-content:after{
                                width: auto;
                                height: 50px;
                                bottom: auto;
                                right: -3px;
                                left: -3px;
                            }
                            .main-timeline .timeline-year,
                            .main-timeline .timeline:nth-child(even) .timeline-year{
                                transform: translateY(0) translateX(-50%);
                                top: 3px;
                                left: 50%;
                            }
                            .main-timeline .timeline-icon,
                            .main-timeline .timeline:nth-child(even) .timeline-icon{
                                font-size: 30px;
                                transform: translateY(0) translateX(-50%);
                                right: auto;
                                left: 50%;
                                top: auto;
                                bottom: -2px;
                            }
                        }
                        @media screen and (max-width:576px){
                            .main-timeline .title{ font-size: 18px; }
                        }
                    
License Terms