timeline style : demo 109

CSS

(Fonts required: Roboto.)
                        .main-timeline{
                            font-family: 'Mukta', sans-serif;
                            position: relative;
                        }
                        .main-timeline:after{
                            content: '';
                            display: block;
                            clear: both;
                        }
                        .main-timeline .timeline{
                            float: left;
                            width: 50.5%;
                            margin: 0 10px 0 0;
                        }
                        .main-timeline .timeline-content{
                            color: #666;
                            padding: 0 140px 15px 0;
                            border-bottom: 10px solid #E13938;
                            display: block;
                            position: relative;
                        }
                        .main-timeline .timeline-content:hover{ text-decoration: none; }
                        .main-timeline .timeline-icon{
                            color: #E13938;
                            font-size: 40px;
                            line-height: 40px;
                            margin: 0 0 10px;
                        }
                        .main-timeline .title{
                            color: #E13938;
                            font-size: 24px;
                            font-weight: 700;
                            letter-spacing: 0.5px;
                            text-transform: uppercase;
                            margin: 0 0 3px;
                        }
                        .main-timeline .description{
                            font-size: 16px;
                            font-style: italic;
                            margin: 0;
                        }
                        .main-timeline .timeline-year{
                            color: #fff;
                            background: #E13938;
                            font-size: 32px;
                            font-weight: 800;
                            text-align: center;
                            line-height: 95px;
                            height: 95px;
                            width: 95px;
                            border-radius: 50%;
                            position: absolute;
                            right: 20px;
                            bottom: 8px;
                        }
                        .main-timeline .timeline-year:before{
                            content: "";
                            width: 130px;
                            height: 130px;
                            border: 10px solid #E13938;
                            border-right-color: transparent;
                            border-radius: 50%;
                            transform: translateX(-50%) translateY(-50%) rotate(45deg);
                            position: absolute;
                            top: 50%;
                            left: 50%;
                        }
                        .main-timeline .timeline:nth-child(even){
                            float: right;
                            text-align: right;
                            margin: 0 0 0 10px;
                        }
                        .main-timeline .timeline:nth-child(even) .timeline-content{ padding: 0 0 15px 140px; }
                        .main-timeline .timeline:nth-child(even) .timeline-year{
                            right: auto;
                            left: 20px;
                        }
                        .main-timeline .timeline:nth-child(even) .timeline-year:before{
                            transform: translateX(-50%) translateY(-50%) rotateY(180deg) rotate(45deg);
                        }
                        .main-timeline .timeline:nth-child(4n+2) .timeline-content{ border-bottom-color: #8A1C63; }
                        .main-timeline .timeline:nth-child(4n+2) .timeline-icon,
                        .main-timeline .timeline:nth-child(4n+2) .title{
                            color: #8A1C63;
                        }
                        .main-timeline .timeline:nth-child(4n+2) .timeline-year{ background-color: #8A1C63; }
                        .main-timeline .timeline:nth-child(4n+2) .timeline-year:before{
                            border-color: #8A1C63;
                            border-right-color: transparent;
                        }
                        .main-timeline .timeline:nth-child(4n+3) .timeline-content{ border-bottom-color: #21A2F5; }
                        .main-timeline .timeline:nth-child(4n+3) .timeline-icon,
                        .main-timeline .timeline:nth-child(4n+3) .title{
                            color: #21A2F5;
                        }
                        .main-timeline .timeline:nth-child(4n+3) .timeline-year{ background-color: #21A2F5; }
                        .main-timeline .timeline:nth-child(4n+3) .timeline-year:before{
                            border-color: #21A2F5;
                            border-right-color: transparent;
                        }
                        .main-timeline .timeline:nth-child(4n+4) .timeline-content{ border-bottom-color: #1378AC; }
                        .main-timeline .timeline:nth-child(4n+4) .timeline-icon,
                        .main-timeline .timeline:nth-child(4n+4) .title{
                            color: #1378AC;
                        }
                        .main-timeline .timeline:nth-child(4n+4) .timeline-year{ background-color: #1378AC; }
                        .main-timeline .timeline:nth-child(4n+4) .timeline-year:before{
                            border-color: #1378AC;
                            border-right-color: transparent;
                        }
                        @media screen and (max-width:767px){
                            .main-timeline .timeline,
                            .main-timeline .timeline:nth-child(even){
                                width: 100%;
                                margin: 0 0 30px 0;
                            }
                            .main-timeline .timeline-content,
                            .main-timeline .timeline:nth-child(even) .timeline-content{
                                text-align: left;
                                padding: 0 150px 15px 0;
                            }
                            .main-timeline .timeline-year,
                            .main-timeline .timeline:nth-child(even) .timeline-year{
                                left: auto;
                                right: 28px;
                            }
                            .main-timeline .timeline:nth-child(even) .timeline-year:before{
                                transform: translateX(-50%) translateY(-50%) rotate(45deg);
                            }
                        }
                        @media screen and (max-width:576px){
                            .main-timeline .title{ font-size: 20px; }
                            .main-timeline .description{ font-size: 15px; }
                            .main-timeline .timeline-content,
                            .main-timeline .timeline:nth-child(even) .timeline-content{
                                border-bottom-width: 7px;
                                padding: 0 95px 15px 0;
                            }
                            .main-timeline .timeline-icon{
                                font-size: 30px;
                                margin:  0 0 5px;
                            }
                            .main-timeline .timeline-year{
                                font-size: 20px;
                                line-height: 60px;
                                height: 60px;
                                width: 60px;
                                bottom: 4px;
                                right: 13px;
                            }
                            .main-timeline .timeline:nth-child(even) .timeline-year{ right: 13px; }
                            .main-timeline .timeline-year:before{
                                height: 83px;
                                width: 83px;
                                border-width: 7px;
                            }
                        }
                        @media screen and (max-width:399px){
                            .main-timeline .timeline-content,
                            .main-timeline .timeline:nth-child(even) .timeline-content{
                                padding: 0 0 85px 0;
                            }
                        }
                    
License Terms