<!DOCTYPE html>
<html>
<head>
<style>
@-webkit-keyframes example {
from {top:-100px;opacity: 0;}
to {top:0px;opacity:1;}
}
@keyframes example {
from {top:-100px;opacity: 0;}
to {top:0px;opacity:1;}
}
.modal {
display: none;
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.4);
}
.modal:target {
display: table;
position: absolute;
}
.modal-dialog {
display: table-cell;
vertical-align: middle;
}
.modal-dialog .modal-content {
margin: auto;
background-color: #f3f3f3;
position: relative;
padding: 0;