toloframework
Version:
Javascript/HTML/CSS compiler for Firefox OS or nodewebkit apps using modules in the nodejs style.
29 lines (25 loc) • 439 B
CSS
.wdg-gravatar {
position: relative;
display: inline-block;
background-color: rgba(0,0,0,.3);
padding: 0;
}
.wdg-gravatar > img {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
margin: 0;
transition: opacity .7s;
opacity: 1;
}
.wdg-gravatar.fade > img {
transition: opacity .7s;
opacity: 0;
}
.wdg-gravatar.hide {
display: none;
}