timeline style : demo 33

CSS

                        .main-timeline{
                            padding-top: 50px;
                            overflow: hidden;
                            position: relative;
                        }
                        .main-timeline:before{
                            content: "";
                            width: 7px;
                            height: 100%;
                            background: #084772;
                            margin: 0 auto;
                            position: absolute;
                            top: 80px;
                            left: 0;
                            right: 0;
                        }
                        .main-timeline .timeline{
                            width: 50%;
                            float: left;
                            padding: 20px 60px;
                            border-top: 7px solid #084772;
                            border-right: 7px solid #084772;
                            border-radius: 0 30px 0 0;
                            position: relative;
                            right: -3.5px;
                        }
                        .main-timeline .icon{
                            display: block;
                            width: 50px;
                            height: 50px;
                            line-height:50px;
                            border-radius: 50%;
                            background: #e84c47;
                            border: 1px solid #fff;
                            text-align: center;
                            font-size: 25px;
                            color: #fff;
                            box-shadow: 0 0 0 2px #e84c47;
                            position: absolute;
                            top: -30px;
                            left: 0;
                        }
                        .main-timeline .timeline-content{
                            display: block;
                            padding: 30px 10px 10px;
                            border-radius: 20px;
                            background: #e84c47;
                            color: #fff;
                            position: relative;
                        }
                        .main-timeline .timeline-content:hover{
                            text-decoration: none;
                            color: #fff;
                        }
                        .main-timeline .timeline-content:before,
                        .main-timeline .timeline-content:after{
                            content: "";
                            display: block;
                            width: 10px;
                            height: 50px;
                            border-radius: 10px;
                            background: #e84c47;
                            border: 1px solid #fff;
                            position: absolute;
                            top: -35px;
                            left: 50px;
                        }
                        .main-timeline .timeline-content:after{
                            left: auto;
                            right: 50px;
                        }
                        .main-timeline .title{
                            font-size: 24px;
                            margin: 0;
                        }
                        .main-timeline .description{
                            font-size: 15px;
                            letter-spacing: 1px;
                            margin: 0 0 5px 0;
                        }
                        .main-timeline .timeline:nth-child(2n){
                            border-right: none;
                            border-left: 7px solid #084772;
                            border-radius: 30px 0 0 0;
                            right: auto;
                            left: -3.5px;
                        }
                        .main-timeline .timeline:nth-child(2n) .icon{
                            left: auto;
                            right: 0;
                        }
                        .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,
                        .main-timeline .timeline:nth-child(2n) .timeline-content:before,
                        .main-timeline .timeline:nth-child(2n) .timeline-content:after,
                        .main-timeline .timeline:nth-child(2n) .icon{ background: #4bd9bf; }
                        .main-timeline .timeline:nth-child(2n) .icon{ box-shadow: 0 0 0 2px #4bd9bf; }
                        .main-timeline .timeline:nth-child(3n) .timeline-content,
                        .main-timeline .timeline:nth-child(3n) .timeline-content:before,
                        .main-timeline .timeline:nth-child(3n) .timeline-content:after,
                        .main-timeline .timeline:nth-child(3n) .icon{ background: #ff9e09; }
                        .main-timeline .timeline:nth-child(3n) .icon{ box-shadow: 0 0 0 2px #ff9e09; }
                        .main-timeline .timeline:nth-child(4n) .timeline-content,
                        .main-timeline .timeline:nth-child(4n) .timeline-content:before,
                        .main-timeline .timeline:nth-child(4n) .timeline-content:after,
                        .main-timeline .timeline:nth-child(4n) .icon{ background: #3ebae7; }
                        .main-timeline .timeline:nth-child(4n) .icon{ box-shadow: 0 0 0 2px #3ebae7; }
                        @media only screen and (max-width: 767px){
                            .main-timeline:before{
                                left: 0;
                                right: auto;
                            }
                            .main-timeline .timeline,
                            .main-timeline .timeline:nth-child(even),
                            .main-timeline .timeline:nth-child(odd){
                                width: 100%;
                                float: none;
                                padding: 20px 30px;
                                margin: 0 0 30px 0;
                                border-right: none;
                                border-left: 7px solid #084772;
                                border-radius: 30px 0 0 0;
                                right: auto;
                                left: 0;
                            }
                            .main-timeline .icon{
                                left: auto;
                                right: 0;
                            }
                        }
                        @media only screen and (max-width: 480px){
                            .main-timeline .title{ font-size: 18px; }
                        }
                    
License Terms