1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/frontend/app/gallery/grid/photo/photo.grid.gallery.component.css

92 lines
1.4 KiB
CSS
Raw Normal View History

img {
width: inherit;
height: inherit;
2016-06-17 17:25:15 +08:00
-webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
-moz-animation: fadein 2s; /* Firefox < 16 */
-ms-animation: fadein 2s; /* Internet Explorer */
-o-animation: fadein 2s; /* Opera < 12.1 */
animation: fadein 2s;
}
@keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Firefox < 16 */
@-moz-keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Internet Explorer */
@-ms-keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
2016-05-16 00:52:07 +08:00
}
.info {
background-color: transparent;
color: white;
font-size: medium;
position: relative;
padding: 5px;
margin-top: -50px;
transition: all .3s ease-out;
-moz-transition: all .3s ease-out;
-webkit-transition: all .3s ease-out;
-o-transition: all .3s ease-out;
}
.photo-container {
width: inherit;
height: inherit;
overflow: hidden;
}
.photo-name {
display: inline-block;
}
.photo-position {
display: inline-block;
float: right;
}
a {
color: white;
}
.photo-keywords {
margin-top: 5px;
font-size: small;
text-align: right;
display: inline-block;
width: 100%;
}