timeline style : demo 29

CSS

                        .main-timeline{
                            overflow: hidden;
                            position: relative;
                        }
                        .main-timeline:before{
                            content: "";
                            width: 3px;
                            height: 100%;
                            background: #3d3c4b;
                            position: absolute;
                            top: 0;
                            left: 50%;
                            transform: translateX(-50%);
                        }
                        .main-timeline .timeline{
                            width: 50%;
                            float: left;
                            padding: 0 150px 0 50px;
                            margin-bottom: 30px;
                            position: relative;
                        }
                        .main-timeline .timeline:before{
                            content: "";
                            width: 110px;
                            height: 3px;
                            background: #3d3c4b;
                            position: absolute;
                            top: 50%;
                            right: 0;
                            transform: translateY(-50%);
                        }
                        .main-timeline .timeline:after{
                            content: "\f0d9";
                            font-family: "Font Awesome 5 Free";
                            font-weight: 900;
                            font-size: 40px;
                            color: #3d3c4b;
                            position: absolute;
                            top: 50%;
                            right: 110px;
                            transform: translateY(-50%);
                        }
                        .main-timeline .timeline-content{
                            display: block;
                            padding: 30px 20px 30px 90px;
                            background: linear-gradient(to right top, #df458b, #d53863);
                            position: relative;
                        }
                        .main-timeline .timeline-content:hover{ text-decoration: none; }
                        .main-timeline .timeline-content:before,
                        .main-timeline .timeline-content:after{
                            content: "";
                            border-top: 20px solid #474548;
                            border-left: 20px solid transparent;
                            border-bottom: 20px solid transparent;
                            position: absolute;
                            bottom: -40px;
                            left: 0;
                        }
                        .main-timeline .timeline-content:after{
                            border-left: none;
                            border-right: 20px solid transparent;
                            left: auto;
                            right: 0;
                        }
                        .main-timeline .icon{
                            display: block;
                            font-size: 40px;
                            color: #fff;
                            position: absolute;
                            top: 50%;
                            left: 20px;
                            transform: translateY(-50%);
                        }
                        .main-timeline .title{
                            font-size: 20px;
                            font-weight: 700;
                            color: #fff;
                            margin: 0 0 10px 0;
                        }
                        .main-timeline .description{
                            font-size: 14px;
                            color: #fff;
                            margin: 0 0 5px 0;
                        }
                        .main-timeline .timeline:nth-child(2n){ padding: 0 50px 0 150px; }
                        .main-timeline .timeline:nth-child(2n):before{
                            right: auto;
                            left: 0;
                        }
                        .main-timeline .timeline:nth-child(2n):after{
                            content: "\f0da";
                            right: auto;
                            left: 110px;
                        }
                        .main-timeline .timeline:nth-child(2){ margin-top: 130px; }
                        .main-timeline .timeline:nth-child(odd){ margin: -130px 0 30px 0; }
                        .main-timeline .timeline:nth-child(even){ margin-bottom: 80px; }
                        .main-timeline .timeline:first-child,
                        .main-timeline .timeline:last-child:nth-child(even){ margin: 0 0 30px 0; }
                        .main-timeline .timeline:nth-child(2n) .timeline-content{ background: linear-gradient(to right top, #bed056, #8f9a35); }
                        .main-timeline .timeline:nth-child(3n) .timeline-content{ background: linear-gradient(to right top, #fbd301, #e3a514); }
                        .main-timeline .timeline:nth-child(4n) .timeline-content{ background: linear-gradient(to right top, #34afbe, #3798a5); }
                        .main-timeline .timeline:nth-child(5n) .timeline-content{ background: linear-gradient(to right top, #019ed1, #0f2f74); }
                        @media only screen and (max-width: 1200px){
                            .main-timeline .timeline{ padding-left: 0; }
                            .main-timeline .timeline:nth-child(2n){ padding-right: 0; }
                            .main-timeline .timeline-content{ padding-left: 80px; }
                        }
                        @media only screen and (max-width: 990px){
                            .main-timeline .timeline{ padding-right: 100px; }
                            .main-timeline .timeline:nth-child(2n){ padding-left: 100px; }
                            .main-timeline .timeline:before{ width: 70px; }
                            .main-timeline .timeline:after{ right: 70px; }
                            .main-timeline .timeline:nth-child(2n):after{ left: 70px; }
                        }
                        @media only screen and (max-width: 767px){
                            .main-timeline:before{
                                left: 0;
                                transform: translateX(0);
                            }
                            .main-timeline .timeline,
                            .main-timeline .timeline:nth-child(even),
                            .main-timeline .timeline:nth-child(odd){
                                width: 100%;
                                float: none;
                                padding: 0 0 0 100px;
                                margin: 0 0 50px 0;
                            }
                            .main-timeline .timeline:before,
                            .main-timeline .timeline:nth-child(2n):before{ left: 0; }
                            .main-timeline .timeline:after,
                            .main-timeline .timeline:nth-child(2n):after{
                                content: "\f0da";
                                font-family: "Font Awesome 5 Free";
                            font-weight: 900;
                                right: auto;
                                left: 70px;
                            }
                        }
                        @media only screen and (max-width: 479px){
                            .main-timeline .timeline,
                            .main-timeline .timeline:nth-child(even),
                            .main-timeline .timeline:nth-child(odd){
                                padding: 0 0 0 60px;
                            }
                            .main-timeline .timeline:before{ width: 30px; }
                            .main-timeline .timeline:after,
                            .main-timeline .timeline:nth-child(2n):after{ left: 30px; }
                        }
                    
License Terms