mirror of
https://github.com/bigchaindb/site.git
synced 2024-12-02 05:57:18 +01:00
35 lines
619 B
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);
|
|
}
|
|
}
|