Modal style : demo 51

HTML

(Icons : Fontawesome & CSS Framwork: Bootstrap)
                        

CSS

(Fonts required: Poppins.)
                        .modal-box{ font-family: 'Poppins', sans-serif; }
                        .modal-box .show-modal{
                            color: #fff;
                            background-color: #e043db;
                            font-size: 15px;
                            font-weight: 500;
                            text-transform: uppercase;
                            padding: 10px 25px;
                            margin: 80px auto 0;
                            border: none;
                            outline: none;
                            border-radius: 20px;
                            display: block;
                            transition: all 0.3s ease 0s;
                        }
                        .modal-box .show-modal:hover,
                        .modal-box .show-modal:focus{
                            color: #fff;
                            outline: none;
                            box-shadow: 2px 2px 0 #fff,4px 4px 0 #e043db;
                        }
                        .modal-box .modal-dialog{
                            width: 500px;
                            margin: 70px auto 0;
                        }
                        .modal.fade .modal-dialog{
                            opacity: 0;
                            transform: translate(0,0) scale(0.8);
                        }
                        .modal.fade.in .modal-dialog{
                            opacity: 1;
                            transform: translate(0,0) scale(1);
                        }
                        .modal-box .modal-dialog .modal-content{
                            text-align: center;
                            border: none;
                            border-radius: 8px;
                        }
                        .modal-box .modal-dialog .modal-content .close{
                            color: #d1d1d1;
                            font-size: 33px;
                            font-weight: 500;
                            text-shadow: none;
                            line-height: 13px;
                            opacity: 1;
                            overflow: hidden;
                            position: absolute;
                            left: auto;
                            right: 7px;
                            top: 11px;
                            z-index: 1;
                            transition: all 0.3s;
                        }
                        .modal-box .modal-dialog .modal-content .close:hover{ color: #e043db; }
                        .modal-box .modal-dialog .modal-content .close:focus{ outline: none; }
                        .modal-box .modal-dialog .modal-content .modal-body{ padding: 45px 25px !important; }
                        .modal-box .modal-dialog .modal-content .modal-body .title{
                            color: #626A81;
                            font-size: 30px;
                            font-weight: 500;
                            text-transform: capitalize;
                            margin: 0 0 30px;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .description{
                            color: #c3c4c9;
                            font-size: 15px;
                            letter-spacing: 0.5px;
                            line-height: 25px;
                            margin: 0 0 35px;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .subscribe{
                            color: #fff;
                            background-color: #e043db;
                            font-size: 15px;
                            letter-spacing: 1px;
                            text-transform: uppercase;
                            width: 150px;
                            padding: 9px;
                            border: 2px solid #e043db;
                            border-radius: 40px;
                            transition: all 0.4s ease 0s;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .subscribe:hover,
                        .modal-box .modal-dialog .modal-content .modal-body .subscribe:focus{
                            color: #e043db;
                            background-color: #fff;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .cancel{
                            color: #e043db;
                            background-color: #fff;
                            margin: 0 15px 0 0;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .cancel:hover,
                        .modal-box .modal-dialog .modal-content .modal-body .cancel:focus{
                            color: #fff;
                            background-color: #e043db;
                        }
                        @media only screen and (max-width: 576px){
                            .modal-dialog{ width: 95% !important; }
                        }
                        @media only screen and (max-width: 399px){
                            .modal-box .modal-dialog .modal-content .modal-body .subscribe.cancel{ margin: 0 0 15px 0; }
                        }
                    

JavaScript

(Modal depend on jQuery and Bootstrap.)
                        
                        
                    
License Terms