1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-22 17:50:07 +01:00
site/_src/_assets/styles/bigchain/_nyan.scss

35 lines
619 B
SCSS

.nyan {
position: relative;
&:before {
content: '';
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
background: url('../img/nyan.gif') no-repeat left center;
background-size: 50%;
z-index: 0;
opacity: 0;
animation: nyan-appear .6s ease-out forwards;
}
code {
position: relative;
z-index: 2;
}
}
@keyframes nyan-appear {
0% {
opacity: 0;
transform: translate3d(-5rem, 0, 0);
}
100% {
opacity: .4;
transform: translate3d(0, 0, 0);
}
}