Modal style : demo 21

HTML

(Icons : Fontawesome & CSS Framwork: Bootstrap)
                        

CSS

(Fonts required: Ubuntu.)
                        .demo{ background-color: #9c5ff7; }
                        .modal-box{ font-family: 'Ubuntu', sans-serif; }
                        .modal-box .show-modal{
                            color: #273c75;
                            background-color: #fff;
                            font-size: 18px;
                            font-weight: 600;
                            text-transform: capitalize;
                            padding: 10px 15px;
                            margin: 80px auto 0;
                            border: none;
                            outline: none;
                            box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.3);
                            display: block;
                        }
                        .modal-box .show-modal:hover{
                            color: #273c75;
                            border: none;
                        }
                        .modal-box .modal{ top: 90px !important; }
                        .modal-box .modal-dialog{
                            width: 400px;
                            margin: 20px auto 0;
                        }
                        .modal-box .modal-dialog .modal-content{
                            text-align: center;
                            border-radius: 30px;
                        }
                        .modal-box .modal-dialog .modal-content .close{
                            color: #fff;
                            background-color:#8652f6;
                            font-size: 40px;
                            text-shadow: none;
                            line-height: 50px;
                            height: 50px;
                            width: 50px;
                            border-radius: 0 30px;
                            opacity: 1;
                            position: absolute;
                            left: auto;
                            right: -1px;
                            top: -1px;
                            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: #fff;
                            background-color:#f39c12;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body{ padding: 0 20px 50px !important; }
                        .modal-box .modal-dialog .modal-content .modal-body .icon{
                            color: #fff;
                            background: #8652f6;
                            font-size: 80px;
                            line-height: 150px;
                            width: 150px;
                            height: 150px;
                            margin: -20px auto 30px;
                            border-radius: 50%;
                            position: relative;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .icon:before{
                            content: "";
                            background: linear-gradient(to right,#f39c12,#f1c40f);
                            width: 25px;
                            height: 25px;
                            border-radius: 50px;
                            position: absolute;
                            top: 35px;
                            right: 30px;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .title{
                            color: #111;
                            font-size: 35px;
                            font-weight: 600;
                            text-transform: capitalize;
                            margin: 0 0 20px 0;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .description{
                            color: #999;
                            margin: 0 20px 30px;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .input-group{
                            background: #E2E2E2;
                            border-radius: 50px;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .form-control{
                            color: #111;
                            background: transparent;
                            font-size: 16px;
                            letter-spacing: 1px;
                            height: 45px;
                            padding: 2px 15px;
                            border-radius: 0;
                            border: none;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .form-control:focus{
                            box-shadow: none;
                            border: none;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .form-control::placeholder{
                            color: #909090;
                            font-size: 14px;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .subscribe{
                            color: #fff;
                            background: linear-gradient(to right,#f39c12,#f1c40f);
                            font-size: 16px;
                            font-weight: 700;
                            letter-spacing: 1px;
                            text-transform: uppercase;
                            padding: 11px 15px;
                            border: none;
                            border-radius: 50px;
                            display: block;
                            transition: all 0.3s;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .subscribe:hover{
                            background: linear-gradient(to right,#b649fd,#8256f7);
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .subscribe i{ margin-left: 5px; }
                        @media only screen and (max-width: 576px){
                            .modal-dialog{ width: 93% !important; }
                            .modal-box .modal-dialog .modal-content  .modal-body .title{ font-size:25px; }
                            .modal-box .modal-dialog .modal-content  .modal-body .description{ margin: 0 0 20px; }
                            .modal-box .modal-dialog .modal-content .modal-body .input-group{
                                background: transparent;
                                display: block;
                            }
                            .modal-box .modal-dialog .modal-content .modal-body .form-control{
                                background-color: #E2E2E2;
                                margin: 0 0 10px;
                                border-radius: 50px;
                            }
                            .modal-box .modal-dialog .modal-content .modal-body .subscribe{ margin: 0 auto; }
                        }
                    

JavaScript

(Modal depend on jQuery and Bootstrap.)
                        
                        
                    
License Terms