Bootstrap pretty cool and awesome modal

Modals are pretty cool and awesome in bootstrap. There are many jquery plugins modals are used in our day to day websites. Since i am the fan of bootstrap i created the bootstrap awesome modals which is very simple.

Bootstrap modals windows are basically created as small windows with some rounded corners and it displays with lightbox effect over the top of the regular content. In a simple it is like popup that mainly used to provide an information for the user like alert messages, success message, warning, and primary information

Awesome modals in bootstrap


.modal-content {
    -webkit-border-radius: 0;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 0;
    -moz-background-clip: padding;
    border-radius: 6px;
    background-clip: padding-box;
    -webkit-box-shadow: 0 0 40px rgba(0,0,0,.5);
    -moz-box-shadow: 0 0 40px rgba(0,0,0,.5);
    box-shadow: 0 0 40px rgba(0,0,0,.5);
    color: #000;
    background-color: #fff;
    border: rgba(0,0,0,0);
.modal-message .modal-dialog {
    width: 300px;
.modal-message .modal-body, .modal-message .modal-footer, .modal-message .modal-header, .modal-message .modal-title {
    background: 0 0;
    border: none;
    margin: 0;
    padding: 0 20px;
    text-align: center!important;

.modal-message .modal-title {
    font-size: 17px;
    color: #737373;
    margin-bottom: 3px;

.modal-message .modal-body {
    color: #737373;

.modal-message .modal-header {
    color: #fff;
    margin-bottom: 10px;
    padding: 15px 0 8px;
.modal-message .modal-header .fa, 
.modal-message .modal-header 
.glyphicon, .modal-message 
.modal-header .typcn, .modal-message .modal-header .wi {
    font-size: 30px;

.modal-message .modal-footer {
    margin: 25px 0 20px;
    padding-bottom: 10px;

.modal-backdrop.in {
    zoom: 1;
    filter: alpha(opacity=75);
    -webkit-opacity: .75;
    -moz-opacity: .75;
    opacity: .75;
.modal-backdrop {
    background-color: #fff;
.modal-message.modal-success .modal-header {
    color: #53a93f;
    border-bottom: 3px solid #a0d468;

.modal-message.modal-info .modal-header {
    color: #57b5e3;
    border-bottom: 3px solid #57b5e3;

.modal-message.modal-danger .modal-header {
    color: #d73d32;
    border-bottom: 3px solid #e46f61;

.modal-message.modal-warning .modal-header {
    color: #f4b400;
    border-bottom: 3px solid #ffce55;


I hope you like this bootstrap modals. Subscribe and download the code. You can use it for your own purposes. You can share your views by contacting me at hackandphp@gmail.com. Keep in touch with us :)

By posted on - 20th Feb 2016

Social Oauth Login

Online Image Compression Tool

Image Compression


Recent Posts