timeline style : demo 90

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: 50%;
                            padding: 0 0 0 70px;
                            margin: 0 0 0 50px;
                            float: right;
                            position: relative;
                        }
                        .main-timeline .timeline:before{
                            content: '';
                            background-color: #D219B4;
                            height: 10px;
                            width: 10px;
                            border-radius: 50%;
                            transform: translateY(-50%);
                            position: absolute;
                            left: -70px;
                            top: 50%;
                        }
                        .main-timeline .timeline-content{
                            color: #fff;
                            background: linear-gradient(to right,#E50091,#AE0D97);
                            min-height: 140px;
                            padding: 20px;
                            border-radius: 10px;
                            box-shadow: 0 0 15px -5px #555;
                            display: block;
                            position: relative;
                        }
                        .main-timeline .timeline-content:before,
                        .main-timeline .timeline-content:after{
                            content: '';
                            background: #E50091;
                            height: 16px;
                            width: 16px;
                            transform: translateY(-50%) rotate(45deg);
                            position: absolute;
                            left: -8px;
                            top: 50%;
                        }
                        .main-timeline .timeline-content:after{
                            background: linear-gradient(to right,#D219B4,#E50091);
                            transform: translateY(-50%) rotate(0);
                            left: -140px;
                            width: 140px;
                            height: 5px;
                        }
                        .main-timeline .timeline-content:hover{ text-decoration: none; }
                        .main-timeline .timeline-icon{
                            color: rgba(0,0,0,0.2);
                            font-size: 40px;
                            position: absolute;
                            top: 15px;
                            left: -90px;
                        }
                        .main-timeline .title{
                            font-size: 20px;
                            font-weight: 600;
                            text-transform: uppercase;
                            letter-spacing: 1px;
                            margin: 0 0 7px 0;
                        }
                        .main-timeline .description{
                            font-size: 15px;
                            letter-spacing: 1px;
                            text-align: justify;
                            margin: 0;
                        }
                        .main-timeline .timeline:nth-child(even){
                            padding: 0 70px 0 0;
                            margin: 0 70px 0 0;
                            float: left;
                        }
                        .main-timeline .timeline:nth-child(even):before{
                            left: auto;
                            right: -71px;
                        }
                        .main-timeline .timeline:nth-child(even) .timeline-content:before{
                            left: auto;
                            right: -8px;
                        }
                        .main-timeline .timeline:nth-child(even) .timeline-content:after{
                            left: auto;
                            right: -140px;
                        }
                        .main-timeline .timeline:nth-child(even) .timeline-icon{
                            left: auto;
                            right: -90px;
                        }
                        .main-timeline .timeline:nth-child(4n+2):before{ background-color: #17B1EF; }
                        .main-timeline .timeline:nth-child(4n+2) .timeline-content{
                            background: linear-gradient(to right,#7029CF,#4267D9);
                        }
                        .main-timeline .timeline:nth-child(4n+2) .timeline-content:before{ background: #4267D9; }
                        .main-timeline .timeline:nth-child(4n+2) .timeline-content:after{
                            background: linear-gradient(to right,#4267D9,#17B1EF);
                        }
                        .main-timeline .timeline:nth-child(4n+3):before{ background-color: #04E2CB; }
                        .main-timeline .timeline:nth-child(4n+3) .timeline-content{
                            background: linear-gradient(to right,#42c966,#5BD80B);
                        }
                        .main-timeline .timeline:nth-child(4n+3) .timeline-content:before{ background: #42c966; }
                        .main-timeline .timeline:nth-child(4n+3) .timeline-content:after{
                            background: linear-gradient(to right,#04E2CB,#42c966);
                        }
                        .main-timeline .timeline:nth-child(4n+4):before{ background-color: #EFBC2F; }
                        .main-timeline .timeline:nth-child(4n+4) .timeline-content{
                            background: linear-gradient(to right,#E03C30,#FF7125);
                        }
                        .main-timeline .timeline:nth-child(4n+4) .timeline-content:before{ background: #FF7125; }
                        .main-timeline .timeline:nth-child(4n+4) .timeline-content:after{
                            background: linear-gradient(to right,#FF7125,#EFBC2F);
                        }
                        @media screen and (max-width:767px){
                            .main-timeline .timeline,
                            .main-timeline .timeline:nth-child(even){
                                width: 100%;
                                padding: 0 0 0 40px;
                                margin-bottom: 20px;
                            }
                            .main-timeline .timeline:before,
                            .main-timeline .timeline:nth-child(even):before{
                                transform: translateY(0);
                                left: 0;
                                right: auto;
                                top: 47px;
                            }
                            .main-timeline .timeline:nth-child(4n+2) .timeline-content{
                                background: linear-gradient(to left,#7029CF,#4267D9);
                            }
                            .main-timeline .timeline:nth-child(4n+4) .timeline-content{
                                background: linear-gradient(to left,#E03C30,#FF7125);
                            }
                            .main-timeline .timeline-content:before,
                            .main-timeline .timeline:nth-child(even) .timeline-content:before{
                                transform: translateY(0) rotate(45deg);
                                top: 45px;
                                left: -4px;
                            }
                            .main-timeline .timeline-content:after,
                            .main-timeline .timeline:nth-child(even) .timeline-content:after{
                                width: 40px;
                                transform: translateY(0);
                                right: auto;
                                left: -38px;
                                top: 50px;
                            }
                            .main-timeline .timeline:nth-child(even) .timeline-content:after{
                                transform: translateY(0) rotateY(180deg);
                            }
                            .main-timeline .timeline-icon,
                            .main-timeline .timeline:nth-child(even) .timeline-icon{
                                font-size: 22px;
                                left: -30px;
                                right: auto;
                            }
                        }
                        @media screen and (max-width:567px){
                            .main-timeline .title{ font-size: 18px; }
                        }
                    
License Terms