Modal style : demo 30

HTML

(Icons : Fontawesome & CSS Framwork: Bootstrap)
                        

CSS

(Fonts required: Hind.)
                        .modal-box{ font-family: 'Hind', sans-serif; }
                        .modal-box .show-modal{
                            color: #4834d4;
                            background-color: #fff;
                            font-size: 18px;
                            font-weight: 600;
                            text-transform: capitalize;
                            padding: 10px 15px;
                            margin: 80px auto 0;
                            border: none;
                            border-radius: 20px 0;
                            outline: none;
                            display: block;
                        }
                        .modal-box .show-modal:hover{
                            color: #fff;
                            background-color: #4834d4;
                            border: none;
                        }
                        .modal-backdrop.in{ opacity: 0; }
                        .modal-box .modal{ top: 90px !important; }
                        .modal-box .modal-dialog{
                            width: 400px;
                            margin: 20px auto 0;
                        }
                        .modal-box .modal-dialog .modal-content{
                           background: linear-gradient(to top,#4834d4,#a29bfe);
                           text-align: center;
                           border: none;
                           position: relative;
                        }
                        .modal-box .modal-dialog .modal-content:before{
                            content: "";
                            background: #a2dcef;
                            width: 100%;
                            height: 180px;
                            position: absolute;
                            top: 0;
                            left: 0;
                            border-radius: 5px 5px 0 0;
                            z-index: 0;
                        }
                        .modal-box .modal-dialog .modal-content .close{
                            color: #4834d4;
                            font-size: 25px;
                            text-shadow: none;
                            opacity: 1;
                            position: absolute;
                            left: auto;
                            top: 4px;
                            right: 4px;
                            z-index: 1;
                            transition: all 0.3s;
                        }
                        .modal-box .modal-dialog .modal-content .close span{
                            margin: -2px 0 0 0;
                            display: block;
                        }
                        .modal-box .modal-dialog .modal-content .close:hover{ color: #4834d4; }
                        .modal-box .modal-dialog .modal-content .modal-body{ padding: 40px 15px 30px !important; }
                        .modal-box .modal-dialog .modal-content .modal-body .icon{
                            color: #0984e3;
                            font-size: 100px;
                            line-height: 100px;
                            margin: 0 0 60px;
                            position: relative;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .icon:before,
                        .modal-box .modal-dialog .modal-content .modal-body .icon:after{
                            content: "\f0c2";
                            color: #fff;
                            font-family: "Font Awesome 5 Free";
                            font-size: 50px;
                            font-weight: 900;
                            position: absolute;
                            top: -25%;
                            left: 10%;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .icon:after{
                            left: auto;
                            right: 10%;
                            top: 0;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .title{
                            color: #fff;
                            font-size: 24px;
                            font-weight: 600;
                            text-transform: capitalize;
                            margin: 0 0 20px;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .description{
                            color: #fff;
                            font-size: 15px;
                            margin: 0 auto 25px;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .subscribe{
                            color: #fff;
                            background-color: #686de0;
                            font-size: 16px;
                            font-weight: 600;
                            padding: 10px 18px;
                            border: none;
                            border-radius: 10px;
                            display: inline-block;
                            transition: all 0.3s;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .subscribe.submit{
                            color: #4834d4;
                            background-color: #fff;
                            margin-right: 0;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .subscribe:hover{
                            color: #4834d4;
                            background-color: #fff;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .subscribe.submit:hover{
                            color: #fff;
                            background-color: #686de0;
                            box-shadow: 0 0 10px #222;
                        }
                        @media only screen and (max-width: 576px){
                            .modal-dialog{ width: 93% !important; }
                        }
                        @media only screen and (max-width: 379px){
                            .modal-box .modal-dialog .modal-content .modal-body .subscribe{ margin-right: 0; }
                        }
                    

JavaScript

(Modal depend on jQuery and Bootstrap.)
                        
                        
                    
License Terms