timeline style : demo 145

CSS

(Fonts required: Poppins.)
                        .main-timeline{ font-family: 'Poppins', sans-serif; }
                        .main-timeline:after{
                            content: '';
                            display: block;
                            clear: both;
                        }
                        .main-timeline .timeline{
                            width: calc(50% + 70px);
                            margin: 0 5px 0 0;
                            box-shadow: 0 0 10px rgba(0,0,0,0.1);
                            float: left;
                        }
                        .main-timeline .timeline-content{
                            color: #555;
                            background: #fff;
                            min-height: 130px;
                            padding: 30px 150px 30px 30px;
                            border-top: none;
                            display: block;
                            position: relative;
                        }
                        .main-timeline .timeline-content:before{
                            content: "";
                            background-color: #00C6DA;
                            height: 100%;
                            width: 70px;
                            position: absolute;
                            top: 0;
                            right: 0;
                        }
                        .main-timeline .timeline-content:hover{ text-decoration: none; }
                        .main-timeline .timeline-icon{
                            color: #fff;
                            font-size: 40px;
                            line-height: 40px;
                            transform: translateY(-50%);
                            position: absolute;
                            top: 50%;
                            right: 16px;
                        }
                        .main-timeline .timeline-year{
                            color: #333;
                            font-size: 40px;
                            font-weight: 700;
                            line-height: 40px;
                            text-align: center;
                            transform: translateY(-50%) rotate(90deg);
                            position: absolute;
                            top: 50%;
                            right: 60px;
                        }
                        .main-timeline .title{
                            color: #00C6DA;
                            font-size: 23px;
                            font-weight: 600;
                            text-transform: uppercase;
                            margin: 0 0 5px;
                        }
                        .main-timeline .description{
                            font-size: 14px;
                            margin: 0;
                        }
                        .main-timeline .timeline:nth-child(even){
                            float: right;
                            margin: 0 0 0 5px;
                        }
                        .main-timeline .timeline:nth-child(even) .timeline-content{ padding: 30px 30px 30px 150px; }
                        .main-timeline .timeline:nth-child(even) .timeline-content:before{
                            right: auto;
                            left: 0;
                        }
                        .main-timeline .timeline:nth-child(even) .timeline-icon{
                            right: auto;
                            left: 10px;
                        }
                        .main-timeline .timeline:nth-child(even) .timeline-year{
                            right: auto;
                            left: 60px;
                        }
                        .main-timeline .timeline:nth-child(4n+2) .timeline-content:before{ background-color: #00A6F9; }
                        .main-timeline .timeline:nth-child(4n+2) .title{ color: #00A6F9; }
                        .main-timeline .timeline:nth-child(4n+3) .timeline-content:before{ background-color: #FF3E7D; }
                        .main-timeline .timeline:nth-child(4n+3) .title{ color: #FF3E7D; }
                        .main-timeline .timeline:nth-child(4n+4) .timeline-content:before{ background-color: #7438B9; }
                        .main-timeline .timeline:nth-child(4n+4) .title{ color: #7438B9; }
                        @media screen and (max-width:767px){
                            .main-timeline .timeline,
                            .main-timeline .timeline:nth-child(even){
                                width: 100%;
                                margin: 0 0 30px;
                            }
                        }
                        @media screen and (max-width:576px){
                            .main-timeline .timeline .timeline-content,
                            .main-timeline .timeline:nth-child(even) .timeline-content{
                                text-align: center;
                                padding: 130px 25px 25px;
                            }
                            .main-timeline .timeline .timeline-content:before,
                            .main-timeline .timeline:nth-child(even) .timeline-content:before{
                                height: 70px;
                                width: 100%;
                            }
                            .main-timeline .timeline-icon,
                            .main-timeline .timeline:nth-child(even) .timeline-icon{
                                transform: translateY(0) translateX(-50%);
                                top: 16px;
                                left: 50%;
                                right: auto;
                            }
                            .main-timeline .timeline-year,
                            .main-timeline .timeline:nth-child(even) .timeline-year{
                                transform: translateY(0) translateX(-50%);
                                top: 80px;
                                left: 50%;
                                right: auto;
                            }
                        }
                    
License Terms