Modal style : demo 56

HTML

(Icons : Fontawesome & CSS Framwork: Bootstrap)
                        

CSS

(Fonts required: Poppins)
                        .modal-box{ font-family: 'Lato', sans-serif; }
                        .modal-box .show-modal{
                            color: #fff;
                            background-color: #282828;
                            font-size: 18px;
                            font-weight: 600;
                            text-transform: capitalize;
                            padding: 10px 15px;
                            margin: 80px auto 0;
                            border: none;
                            outline: none;
                            border-radius: 20px 50px/50px 20px;
                            display: block;
                            transition: all 0.3s ease 0s;
                        }
                        .modal-box .show-modal:hover{
                            color: #282828;
                            background: transparent;
                            border: none;
                            box-shadow: 0 0 15px rgba(0, 0, 0, 0.9);
                        }
                        .modal-box .show-modal:focus{ outline: none; }
                        .modal-backdrop.in{ opacity: 0; }
                        .modal-box .modal-dialog{
                            width: 450px;
                            margin: 100px auto 0;
                        }
                        .modal-box .modal-dialog .modal-content{
                            color: #3c3c3c;
                            background: #e9e9e9;
                            text-align: center;
                            border: none;
                            border-radius: 0;
                            box-shadow: none;
                            overflow: hidden;
                            position: relative;
                        }
                        .modal-box .modal-dialog .modal-content:before{
                            content: '';
                            width: 100%;
                            height: calc(100% + 20px);
                            border-top: 16px dotted #72BCC9;
                            border-bottom: 16px dotted #72BCC9;
                            position: absolute;
                            top: -10px;
                            bottom: -10px;
                            left: 0;
                        }
                        .modal-box .modal-dialog .modal-content .close{
                            color: #fff;
                            background: #72BCC9;
                            font-size: 25px;
                            text-shadow: none;
                            line-height: 23px;
                            height: 25px;
                            width: 24px;
                            opacity: 1;
                            border-radius: 50px;
                            position: absolute;
                            left: auto;
                            right: 10px;
                            top: 15px;
                            z-index: 1;
                            transition: all 0.3s ease;
                        }
                        .modal-box .modal-dialog .modal-content .close span{
                            margin: -2px 0 0;
                            display: block;
                        }
                        .modal-box .modal-dialog .modal-content .close:hover{
                            color: #fff;
                            box-shadow: 0 0 10px -5px rgba(0,0,0,0.9);
                        }
                        .modal-box .modal-dialog .modal-content .close:focus{ outline: none; }
                        .modal-box .modal-dialog .modal-content .modal-body{ padding: 30px 25px !important; }
                        .modal-box .modal-dialog .modal-content .modal-body .title{
                            font-family: 'Amaranth', sans-serif;
                            font-size: 30px;
                            font-weight: 500;
                            font-style: italic;
                            padding: 0 0 20px 0;
                            margin: 0 0 15px 0;
                            border-bottom: 2px dotted #d5d5d5;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .description{
                            color: #8c8c8c;
                            font-size: 17px;
                            letter-spacing: 1px;;
                            margin: 0 0 20px;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .btn{
                            color: #fff;
                            background: linear-gradient(to bottom, #ba4040, #a52929);
                            font-size: 16px;
                            font-weight: 600;
                            text-transform: uppercase;
                            letter-spacing: 2px;
                            width: 130px;
                            padding: 10px 0;
                            margin: 0 10px 10px 0;
                            border: 1px solid #7a0909;
                            border-radius: 5px;
                            display: inline-block;
                            transition: all 0.3s ease 0s;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .btn.cancel{
                            background: linear-gradient(to bottom, #8da556, #748f3e);
                            margin-right: 0;
                            border-color: #4b641a;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .btn:hover{
                            text-shadow: 5px 5px 0 rgba(0,0,0,0.4);
                            box-shadow: 0 0 10px rgba(0,0,0,0.5);
                        }
                        @media only screen and (max-width: 479px){
                            .modal-dialog{ width: 95% !important; }
                            .modal-box .modal-dialog .modal-content .modal-body .btn,
                            .modal-box .modal-dialog .modal-content .modal-body .btn.cancel{
                                margin: 0 auto 10px;
                                display: block;
                            }
                        }
                    

JavaScript

(Modal depend on jQuery and Bootstrap.)
                        
                        
                    
License Terms