timeline style : demo 54

CSS

(Fonts required: Mukta.)
                        :root{
                            --text: #555;
                            --main-text1: #9C58AB;
                            --main-text2: #0a8cad;
                            --main-text3: #E24F9F;
                            --main-text4: #DE7D38;
                        }
                        .main-timeline{
                            font-family: 'Mukta', sans-serif;
                            padding: 15px 0;
                            position: relative;
                        }
                        .main-timeline:before{
                            content: '';
                            background: linear-gradient(to right,#999 49%, var(--text) 50%);
                            height: 100%;
                            width: 23px;
                            box-shadow: 0 0 5px var(--text);
                            border-radius: 30px;
                            transform: translateX(-50%);
                            position: absolute;
                            left: 50%;
                            top: 0;
                        }
                        .main-timeline:after{
                            content: '';
                            display: block;
                            clear: both;
                        }
                        .main-timeline .timeline{
                            text-align: center;
                            width: 50.1%;
                            margin: 0 0 50px;
                            float: left;
                            position: relative;
                        }
                        .main-timeline .timeline:last-child{ margin: 0; }
                        .main-timeline .timeline-content{
                            color: var(--text);
                            display: block;
                        }
                        .main-timeline .timeline-content:hover{
                            color: var(--text);
                            text-decoration: none;
                        }
                        .main-timeline .timeline-icon{
                            color: var(--main-text1);
                            background: linear-gradient(to right,#CC83D2 49%, var(--main-text1) 50%);
                            font-size: 50px;
                            text-align: center;
                            line-height: 114px;
                            height: 110px;
                            width: 110px;
                            border-radius: 50%;
                            box-shadow: 0 0 5px var(--text);
                            transform: translateY(-50%);
                            position: absolute;
                            top: 50%;
                            right: -54px;
                        }
                        .main-timeline .timeline-icon:before{
                            content: '';
                            background: #fff;
                            height: 75%;
                            width: 75%;
                            border-radius: 50%;
                            box-shadow:  0 0 5px #777 inset;
                            position: absolute;
                            left: 50%;
                            top: 50%;
                            z-index: -1;
                            transform: translateX(-50%) translateY(-50%);
                        }
                        .main-timeline .inner-content{ padding: 10px 80px 10px 10px; }
                        .main-timeline .title{
                            color: var(--main-text1);
                            font-size: 25px;
                            font-weight: 700;
                            text-transform: uppercase;
                            margin: 0 0 3px;
                        }
                        .main-timeline .description{
                            font-size: 15px;
                            letter-spacing: 1px;
                            margin: 0;
                        }
                        .main-timeline .timeline:nth-child(even){ float: right; }
                        .main-timeline .timeline:nth-child(even) .timeline-icon{
                            right: auto;
                            left: -53px;
                        }
                        .main-timeline .timeline:nth-child(even) .inner-content{ padding: 10px 10px 10px 80px; }
                        .main-timeline .timeline:nth-child(4n+2) .timeline-icon{
                            color: var(--main-text2);
                            background: linear-gradient(to right,#00B7FB 49%, var(--main-text2) 50%);
                        }
                        .main-timeline .timeline:nth-child(4n+2) .title{ color: var(--main-text2); }
                        .main-timeline .timeline:nth-child(4n+3) .timeline-icon{
                            color: var(--main-text3);
                            background: linear-gradient(to right,#FE79CC 49%, var(--main-text3) 50%);
                        }
                        .main-timeline .timeline:nth-child(4n+3) .title{ color: var(--main-text3); }
                        .main-timeline .timeline:nth-child(4n+4) .timeline-icon{
                            color: var(--main-text4);
                            background: linear-gradient(to right,#FFA657 49%, var(--main-text4) 50%);
                        }
                        .main-timeline .timeline:nth-child(4n+4) .title{ color: var(--main-text4); }
                        @media only screen and (max-width:767px){
                            .main-timeline:before{
                                transform: translateX(0);
                                left: 29px;
                            }
                            .main-timeline .timeline{
                                width: 100%;
                                margin: 0 0 40px;
                                float: right;
                            }
                            .main-timeline .timeline-icon,
                            .main-timeline .timeline:nth-child(even) .timeline-icon{
                                transform: translateY(-50%) scale(0.7);
                                right: auto;
                                left: -15px;
                            }
                            .main-timeline .inner-content,
                            .main-timeline .timeline:nth-child(even) .inner-content{
                                padding: 0 10px 10px 90px;
                            }
                        }
                    
License Terms