Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
76
Добавлен:
17.03.2015
Размер:
899 б
Скачать
.modal-overlay {
position: fixed;
top: 0;
left: 0;
bottom: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,.5);
z-index: 4;
}

.modal-window {
position: absolute;
top: 140px;
left: 50%;
width: 300px;
height: auto;
margin-left: -150px;
padding: 20px;
border:2px solid black;
background-color: white;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
-moz-box-shadow: 0 0 14px #123;
-webkit-box-shadow: 0 0 14px #123;
box-shadow: 0 0 14px #123;
z-index: 5;
}

.modal-close-btn {
position: absolute;
top: 0;
right: 4px;
margin: 0;
padding: 0;
text-decoration: none;
color: black;
font-size: 16px;
}

.modal-close-btn:before {
position: relative;
top: -1px;
content: "Close";
text-transform: uppercase;
font-size: 10px;
}
Соседние файлы в папке css