Modal style : demo 45

HTML

(Icons : Fontawesome & CSS Framwork: Bootstrap)
                        

CSS

(Fonts required: Open Sans.)
                        .modal-box{ font-family: 'Open Sans', sans-serif; }
                        .modal-box .show-modal{
                            color: #fff;
                            background-color: #416ddb;
                            font-size: 18px;
                            font-weight: 700;
                            font-style: italic;
                            text-transform: capitalize;
                            padding: 10px 15px;
                            margin: 80px auto 0;
                            border: none;
                            border-radius: 20px;
                            outline: none;
                            box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.2) inset;
                            display: block;
                            transition: all 0.3s ease 0s;
                        }
                        .modal-box .show-modal:hover,
                        .modal-box .show-modal:focus{
                            color: #444;
                            background-color: #fff;
                            box-shadow: 0 0 15px rgba(0,0,0,0.3) inset;
                            outline: none;
                        }
                        .modal-backdrop.in{ opacity: 0; }
                        .modal-box .modal{ top: 30px !important; }
                        .modal-box .modal-dialog{
                            width: 400px;
                            margin: 30px auto 0;
                        }
                        .modal.fade .modal-dialog{
                            opacity: 0;
                            transform: translate(0,30%);
                        }
                        .modal.fade.in .modal-dialog{
                            opacity: 1;
                            transform: translate(0,0);
                        }
                        .modal-box .modal-dialog .modal-content{
                            background: #fff;
                            text-align: center;
                            border: none;
                            border-radius: 25px;
                            box-shadow: none;
                        }
                        .modal-box .modal-dialog .modal-content .close{
                            color: #3d3d3d;
                            background: #f3f3f3;
                            font-size: 25px;
                            text-shadow: none;
                            line-height: 30px;
                            width: 30px;
                            height: 30px;
                            border-radius: 50%;
                            opacity: 1;
                            position: absolute;
                            left: auto;
                            right: 10px;
                            top: 10px;
                            z-index: 1;
                            transition: all 0.3s ease 0s;
                        }
                        .modal-box .modal-dialog .modal-content .close span{
                            margin: -2px 0 0 0;
                            display: block;
                        }
                        .modal-box .modal-dialog .modal-content .close:hover{ color: #222; }
                        .modal-box .modal-dialog .modal-content .close:focus{ outline: none; }
                        .modal-box .modal-dialog .modal-content .modal-body{ padding: 50px 30px 30px !important; }
                        .modal-box .modal-dialog .modal-content .modal-body .title{
                            color: #333;
                            font-size: 23px;
                            font-weight: 700;
                            line-height: 33px;
                            text-transform: capitalize;
                            margin: 0 0 20px 0;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .ratings{
                            padding: 0;
                            margin: 0 0 35px;
                            list-style: none;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .ratings li{
                            color: #ffb204;
                            font-size: 50px;
                            line-height: 45px;
                            display: inline-block;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .ratings li.far{ color: #e1e1e1; }
                        .modal-box .modal-dialog .modal-content .modal-body .rate-it{
                            color: #fff;
                            background: #416ddb;
                            font-size: 20px;
                            font-weight: 700;
                            letter-spacing: 1px;
                            padding: 10px 45px;
                            margin: 0 auto 15px;
                            border-radius: 50px;
                            border: none;
                            display: block;
                            transition: all 0.3s ease 0s;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .rate-it:hover{ box-shadow: 0 0 10px rgba(0, 0, 0, 0.8) inset; }
                        .modal-box .modal-dialog .modal-content .modal-body .not-rate{
                            color: #656565;
                            font-size: 20px;
                            font-weight: 700;
                            text-decoration: underline;
                            display: inline-block;
                        }
                        .modal-box .modal-dialog .modal-content .modal-body .not-rate:hover{ color: #222; }
                        @media only screen and (max-width: 576px){
                            .modal-dialog{ width: 93% !important; }
                            .modal-box .modal-dialog .modal-content .modal-body .ratings li{ font-size: 40px; }
                        }
                    

JavaScript

(Modal depend on jQuery and Bootstrap.)
                        
                        
                    
License Terms