timeline style : demo 140

CSS

(Fonts required: Poppins.)
                        .main-timeline{ font-family: 'Poppins', sans-serif; }
                        .main-timeline:after{
                            content: '';
                            display: block;
                            clear: both;
                        }
                        .main-timeline .timeline{
                            width: 50%;
                            margin: 0 0 25px 5px;
                            float: right;
                        }
                        .main-timeline .timeline-content{
                            color: #555;
                            background: #fff;
                            min-height: 140px;
                            padding: 20px 20px 20px 65px;
                            border-radius: 0 30px 30px 0;
                            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
                            display: block;
                            position: relative;
                        }
                        .main-timeline .timeline-content:hover{ text-decoration: none; }
                        .main-timeline .timeline-content:before{
                            content: '';
                            background: linear-gradient(#7A3AD8, #3F00DF);
                            height: 105px;
                            width: 105px;
                            border-radius: 0 80px 0 80px;
                            transform: translateY(-50%) rotate(45deg);
                            position: absolute;
                            left: -52.5px;
                            top: 50%;
                        }
                        .main-timeline .timeline-icon{
                            color: #fff;
                            font-size: 50px;
                            font-weight: 600;
                            text-align: center;
                            line-height: 50px;
                            width: 120px;
                            transform: translateY(-50%);
                            position: absolute;
                            left: -60px;
                            top: 50%;
                        }
                        .main-timeline .title{
                            color: #3F00DF;
                            font-size: 20px;
                            font-weight: 600;
                            text-transform: capitalize;
                            margin: 0 0 7px;
                        }
                        .main-timeline .description{
                            font-size: 14px;
                            line-height: 20px;
                            letter-spacing: 0.5px;
                            margin: 0;
                        }
                        .main-timeline .timeline:nth-child(even){
                            margin: 0 5px 25px 0;
                            float: left;
                        }
                        .main-timeline .timeline:nth-child(even) .timeline-content{
                            padding: 20px 65px 20px 20px;
                            border-radius: 30px 0 0 30px;
                        }
                        .main-timeline .timeline:nth-child(even) .timeline-content:before{
                            left: auto;
                            right: -52.5px;
                        }
                        .main-timeline .timeline:nth-child(even) .timeline-icon{
                            left: auto;
                            right: -60px;
                        }
                        .main-timeline .timeline:nth-child(4n+2) .timeline-content:before{
                            background: linear-gradient(#16CABE, #009080);
                        }
                        .main-timeline .timeline:nth-child(4n+2) .title{ color: #009080; }
                        .main-timeline .timeline:nth-child(4n+3) .timeline-content:before{
                            background: linear-gradient(#FD3853, #FF0337);
                        }
                        .main-timeline .timeline:nth-child(4n+3) .title{ color: #FF0337; }
                        .main-timeline .timeline:nth-child(4n+4) .timeline-content:before{
                            background: linear-gradient(#007877, #004B5F);
                        }
                        .main-timeline .timeline:nth-child(4n+4) .title{ color: #004B5F; }
                        @media screen and (max-width:767px){
                            .main-timeline .timeline,
                            .main-timeline .timeline:nth-child(even){
                                width: 100%;
                                padding-top: 50px;
                                margin: 0 0 25px;
                            }
                            .main-timeline .timeline-content,
                            .main-timeline .timeline:nth-child(even) .timeline-content{
                                text-align: center;
                                padding: 60px 20px 20px 20px;
                                border-radius: 20px;
                            }
                            .main-timeline .timeline-content:before,
                            .main-timeline .timeline:nth-child(even) .timeline-content:before{
                                transform: translateX(-50%) translateY(0) rotate(-45deg);
                                top: -52.5px;
                                left: 50%;
                            }
                            .main-timeline .timeline-icon,
                            .main-timeline .timeline:nth-child(even) .timeline-icon{
                                width: auto;
                                transform: translateY(0) translateX(-50%);
                                left: 50%;
                                right: auto;
                                top: -23px;
                            }
                        }
                    
License Terms