timeline style : demo 142

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 10px 0 0;
                            float: left;
                        }
                        .main-timeline .timeline-content{
                            color: #999;
                            padding: 100px 30px 20px 20px;
                            display: block;
                            overflow: hidden;
                            position: relative;
                        }
                        .main-timeline .timeline-content:before{
                            content: '';
                            background-color: rgba(0, 0, 0, 0.1);
                            height: 85%;
                            width: 50px;
                            margin: auto;
                            border-radius: 50%;
                            box-shadow: 0 0 20px 20px rgba(0,0,0,0.1);
                            position: absolute;
                            right: -50px;
                            top: 0;
                            bottom: 0;
                        }
                        .main-timeline .timeline-content:hover{ text-decoration: none; }
                        .main-timeline .timeline-icon{
                            color: #fff;
                            background-color: #F43C57;
                            font-size: 35px;
                            text-align: center;
                            line-height: 65px;
                            width: 100px;
                            height: 65px;
                            position: absolute;
                            right: 0;
                            top: 20px;
                            clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);
                        }
                        .main-timeline .timeline-year{
                            color: #e7e7e7;
                            font-size: 40px;
                            line-height: 40px;
                            font-weight: 700;
                            margin: 0 0 10px;
                        }
                        .main-timeline .title{
                            color: #F43C57;
                            font-size: 20px;
                            font-weight: 700;
                            letter-spacing: 0.5px;
                            text-transform: capitalize;
                            margin: 0 0 8px;
                        }
                        .main-timeline .description{
                            font-size: 14px;
                            margin: 0;
                        }
                        .main-timeline .timeline:nth-child(even){
                            margin: 0 0 0 10px;
                            float: right;
                        }
                        .main-timeline .timeline:nth-child(even) .timeline-content{ padding: 100px 20px 20px 30px; }
                        .main-timeline .timeline:nth-child(even) .timeline-content:before{
                            right: auto;
                            left: -50px;
                        }
                        .main-timeline .timeline:nth-child(even) .timeline-icon{
                            right: auto;
                            left: 0;
                            clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
                        }
                        .main-timeline .timeline:nth-child(4n+2) .timeline-icon{ background-color: #213EDB; }
                        .main-timeline .timeline:nth-child(4n+2) .title{ color: #213EDB; }
                        .main-timeline .timeline:nth-child(4n+3) .timeline-icon{ background: #FF9B00; }
                        .main-timeline .timeline:nth-child(4n+3) .title{ color: #FF9B00; }
                        .main-timeline .timeline:nth-child(4n+4) .timeline-icon{ background: #1C94FB; }
                        .main-timeline .timeline:nth-child(4n+4) .title{ color: #1C94FB; }
                        @media screen and (max-width:767px){
                            .main-timeline .timeline{ width: 100%; }
                            .main-timeline .timeline-content{ padding: 100px 20px 20px 30px; }
                            .main-timeline .timeline-content:before{
                                right: auto;
                                left: -50px;
                            }
                            .main-timeline .timeline-icon{
                                right: auto;
                                left: 0;
                                clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
                            }
                        }
                    
License Terms