Slider de imagenes con html5 y css 3
A todos/as:Tengo un problemita con esto, mis imagenes salen bien pero a pasarlas en tamano mas grande mi height no sale completo... Aqui les dejare mi codigo en html
<div class="galeria"> <div class="miniatura"></div> <div class="miniatura"></div> <div class="miniatura"></div> <div class="miniatura"></div> <div class="miniatura"></div> <div class="miniatura"></div> </div>
Y aqui el css
galeria {
position: relative;
width:70%;
overflow: hidden;
margin: 30px auto;
background-color: #000;
box-shadow: 1px 1px 6px #000;
border: 10px solid #171717;
}
.galeria:before {
content: "";
position: absolute;
width: 100%;
height: 100%;
background: url(FOTOSMETAL\tarjeta.jpg);
background-size: cover;
opacity: .1;
}
.miniatura {
position: relative;
width:10%;
padding-bottom: 10%;
background-position:50% 50%;
background-size: cover;
cursor: pointer;
}
.miniatura:before {
content: "";
position: absolute;
top: -1100%;
left: 100%;
width: 900%;
height: 600%;
border: 5px solid white;
box-sizing: border-box;
background-image: inherit;
background-size: cover;
transition: all .8s;
}
.miniatura:nth-of-type(1) {
background-image: url(FOTOSMETAL/foto5.jpg);
}
.miniatura:nth-of-type(2) {
background-image: url(FOTOSMETAL/lamp2.jpg);
}
.miniatura:nth-of-type(3) {
background-image: url(https://lh5.googleusercontent.com/-uGIMoR677PM/UCPyOBjNWVI/AAAAAAAAEDo/XE73W5FQW-c/s800/fuerzas-naturaleza3.jpg);
}
.miniatura:nth-of-type(4) {
background-image: url(https://lh5.googleusercontent.com/-nbNq900tVT4/UCPyQeZkP_I/AAAAAAAAEDw/WsBQhD2Da-o/s800/fuerzas-naturaleza4.jpg);
}
.miniatura:nth-of-type(5) {
background-image: url(https://lh3.googleusercontent.com/-RtWSpaFr9wA/UoUy3TiQJGI/AAAAAAAAMUg/S9GXFeowXrU/s750/aurora.jpg);
}
.miniatura:nth-of-type(6) {
background-image: url(https://lh6.googleusercontent.com/-edBbxLGJGoY/UoUy329F15I/AAAAAAAAMUs/7mjOTVqm3Ek/s750/crater.jpg);
}
.miniatura:hover:before {
transform: scale(.9);
}
.miniatura:hover:nth-of-type(1):before {
top: 0%;
}
.miniatura:hover:nth-of-type(2):before {
top: -100%;
}
.miniatura:hover:nth-of-type(3):before {
top: -200%;
}
.miniatura:hover:nth-of-type(4):before {
top: -300%;
}
.miniatura:hover:nth-of-type(5):before {
top: -400%;
}
.miniatura:hover:nth-of-type(6):before {
top: -500%;
}
html {
width: 100%;
height: 100%;
background: -webkit-gradient(radial, 50%, 0, 50%, 100, color-stop(0%, #c26649), color-stop(100%, #6b220b));
background: -webkit-radial-gradient(center, ellipse cover, #c26649 0%, #6b220b 100%);
background: -moz-radial-gradient(center, ellipse cover, #c26649 0%, #6b220b 100%);
background: radial-gradient(center, ellipse cover, #c26649 0%, #6b220b 100%);
}Son los trazos de codigo que estoy posteando.