timeline style : demo 89

CSS

(Fonts required: Poppins.)
                        .main-timeline{
                            font-family: 'Poppins', sans-serif;
                            position: relative;
                        }
                        .main-timeline:after{
                            content: '';
                            display: block;
                            clear: both;
                        }
                        .main-timeline:before{
                            content: '';
                            background-color: #383838;
                            height: 100%;
                            width: 10px;
                            border-radius: 10px;
                            transform: translateX(-50%);
                            position: absolute;
                            left: 50%;
                            top: 0;
                        }
                        .main-timeline .timeline{
                            width: 50%;
                            padding: 0 0 0 70px;
                            margin: 0 0 0 50px;
                            float: right;
                        }
                        .main-timeline .timeline-content{
                            background: linear-gradient(45deg,#B1EA4D,#459522);
                            min-height: 140px;
                            padding: 20px 60px 20px 20px;
                            border-radius: 10px;
                            box-shadow: 0 0 15px -5px #555;
                            display: block;
                            position: relative;
                            z-index: 1;
                        }
                        .main-timeline .timeline-content:before,
                        .main-timeline .timeline-content:after{
                            content: '';
                            background-color: #383838;
                            height: 5px;
                            width: 102px;
                            border-radius: 10px 0 0 10px;
                            position: absolute;
                            left: -102px;
                            top: 20px;
                            z-index: -2;
                        }
                        .main-timeline .timeline-content:after{
                            background-color: #fff;
                            width: calc(100% - 10px);
                            height: calc(100% - 10px);
                            border-radius: 10px;
                            top: 5px;
                            left: 5px;
                        }
                        .main-timeline .timeline-content:hover{ text-decoration: none; }
                        .main-timeline .timeline-icon{
                            color: #fff;
                            font-size: 40px;
                            text-align: center;
                            line-height: 63px;
                            height: 70px;
                            width: 80px;
                            overflow: hidden;
                            position: absolute;
                            top: 25px;
                            left: -110px;
                            z-index: 1;
                        }
                        .main-timeline .timeline-icon:after{
                            content: '';
                            background: linear-gradient(45deg,#B1EA4D,#459522);
                            height: 80px;
                            width: 80px;
                            border-radius: 50%;
                            position: absolute;
                            left: 0;
                            top: -13px;
                            z-index: -1;
                        }
                        .main-timeline .title{
                            color: #459522;
                            font-size: 20px;
                            font-weight: 600;
                            text-transform: uppercase;
                            letter-spacing: 1px;
                            margin: 0 0 7px 0;
                        }
                        .main-timeline .description{
                            color: #555;
                            font-size: 15px;
                            letter-spacing: 1px;
                            text-align: justify;
                            margin: 0;
                        }
                        .main-timeline .timeline:nth-child(even){
                            padding: 0 70px 0 0;
                            margin: 0 50px 0 0;
                            float: left;
                        }
                        .main-timeline .timeline:nth-child(even) .timeline-content:before{
                            border-radius: 0 10px 10px 0;
                            left: auto;
                            right: -102px;
                        }
                        .main-timeline .timeline:nth-child(even) .timeline-icon{
                            left: auto;
                            right: -110px;
                        }
                        .main-timeline .timeline:nth-child(4n+2) .timeline-content,
                        .main-timeline .timeline:nth-child(4n+2) .timeline-icon:after{
                            background: linear-gradient(45deg,#6253E1,#04BEFE);
                        }
                        .main-timeline .timeline:nth-child(4n+2) .title{ color: #04BEFE; }
                        .main-timeline .timeline:nth-child(4n+3) .timeline-content,
                        .main-timeline .timeline:nth-child(4n+3) .timeline-icon:after{
                            background: linear-gradient(45deg,#ff1c36,#E75516);
                        }
                        .main-timeline .timeline:nth-child(4n+3) .title{ color: #E75516; }
                        .main-timeline .timeline:nth-child(4n+4) .timeline-content,
                        .main-timeline .timeline:nth-child(4n+4) .timeline-icon:after{
                            background: linear-gradient(45deg,#6c2cf7,#BC78EC);
                        }
                        .main-timeline .timeline:nth-child(4n+4) .title{ color: #BC78EC; }
                        @media screen and (max-width:767px){
                            .main-timeline:before{
                                left: 0;
                                transform: translateX(0);
                            }
                            .main-timeline .timeline,
                            .main-timeline .timeline:nth-child(even){
                                width: 100%;
                                padding: 60px 0 0 40px;
                                margin-bottom: 20px;
                            }
                            .main-timeline .timeline-content,
                            .main-timeline .timeline:nth-child(even) .timeline-content{
                                padding: 60px 20px 20px;
                            }
                            .main-timeline .timeline-content:before,
                            .main-timeline .timeline:nth-child(even) .timeline-content:before{
                                border-radius: 10px;
                                width: 96px;
                                right: auto;
                                left: -35px;
                                top: -27px;
                            }
                            .main-timeline .timeline-icon,
                            .main-timeline .timeline:nth-child(even) .timeline-icon{
                                top: -22px;
                                left: -10px;
                                right: auto;
                            }
                        }
                        @media screen and (max-width:567px){
                            .main-timeline .title{ font-size: 18px; }
                        }
                    
License Terms