Итак. Я хочу наложить несколько изображений, одно за другим, с текстом и ссылками, чтобы продолжить на другом (до 4 раз), и затем добавить ссылку для закрытия и возврата к индексу
Я попробовал немного кодирования, но он застрял:
http://jsfiddle.net/sqJtr/2834/
HTML:
1
2
3
НАСА PRICA
Добродосли у Вилю
DALJE
**CSS:**
#container{
position: absolute;
width:100%;
height: 100%;
}
#main_image{
width: 100%;
height: 100%;
background: #1C1C1C;
}
#overlay {
position: absolute;
bottom: 0;
left: 0;
right: 100%;
background-color: #0D6A80;
overflow: hidden;
width: 100%;
height:0;
transition: 2.5s ease;
opacity: 0.8;
}
#container:hover #overlay {
bottom: 0;
height: 100%;
}
#text {
color: white;
font-size: 15px;
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
text-align: center;
}
#overlay_image1{
position: absolute;
bottom: 50px;
right: 100px;
width: 200px;
height: 200px;
background: orange;
}
#overlay_image2{
position: absolute;
bottom: 50px;
right: 350px;
width: 200px;
height: 200px;
background: green;
}
#overlay_image3{
position: relative;
width: 400px;
height: 200px;
background: #1C1C1C;
}