Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
.bookshelf_wrapper {
position: relative;
top: 55%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.books_list {
margin: 0 auto;
width: 300px;
padding: 0;
}
.book_item {
position: absolute;
top: -120px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
list-style: none;
width: 40px;
height: 120px;
opacity: 0;
background-color: white;
border: 5px solid black;
-webkit-transform-origin: bottom left;
transform-origin: bottom left;
-webkit-transform: translateX(300px);
transform: translateX(300px);
-webkit-animation: travel 2500ms linear infinite;
animation: travel 2500ms linear infinite;
}
.book_item.first {
top: -140px;
height: 140px;
}
.book_item.first:before, .book_item.first:after {
content: '';
position: absolute;
top: 10px;
left: 0;
width: 100%;
height: 5px;
background-color: black;
}
.book_item.first:after {
top: initial;
bottom: 10px;
}
.book_item.second:before, .book_item.second:after, .book_item.fifth:before, .book_item.fifth:after {
-webkit-box-sizing: border-box;
box-sizing: border-box;
content: '';
position: absolute;
top: 10px;
left: 0;
width: 100%;
height: 17.5px;
border-top: 5px solid black;
border-bottom: 5px solid black;
}
.book_item.second:after, .book_item.fifth:after {
top: initial;
bottom: 10px;
}
.book_item.third:before, .book_item.third:after {
-webkit-box-sizing: border-box;
box-sizing: border-box;
content: '';
position: absolute;
top: 10px;
left: 9px;
width: 12px;
height: 12px;
border-radius: 50%;
border: 5px solid black;
}
.book_item.third:after {
top: initial;
bottom: 10px;
}
.book_item.fourth {
top: -130px;
height: 130px;
}
.book_item.fourth:before {
-webkit-box-sizing: border-box;
box-sizing: border-box;
content: '';
position: absolute;
top: 46px;
left: 0;
width: 100%;
height: 17.5px;
border-top: 5px solid black;
border-bottom: 5px solid black;
}
.book_item.fifth {
top: -100px;
height: 100px;
}
.book_item.sixth {
top: -140px;
height: 140px;
}
.book_item.sixth:before {
-webkit-box-sizing: border-box;
box-sizing: border-box;
content: '';
position: absolute;
bottom: 31px;
left: 0px;
width: 100%;
height: 5px;
background-color: black;
}
.book_item.sixth:after {
-webkit-box-sizing: border-box;
box-sizing: border-box;
content: '';
position: absolute;
bottom: 10px;
left: 9px;
width: 12px;
height: 12px;
border-radius: 50%;
border: 5px solid black;
}
.book_item:nth-child(2) {
-webkit-animation-delay: 416.6666666667ms;
animation-delay: 416.6666666667ms;
}
.book_item:nth-child(3) {
-webkit-animation-delay: 833.3333333333ms;
animation-delay: 833.3333333333ms;
}
.book_item:nth-child(4) {
-webkit-animation-delay: 1250ms;
animation-delay: 1250ms;
}
.book_item:nth-child(5) {
-webkit-animation-delay: 1666.6666666667ms;
animation-delay: 1666.6666666667ms;
}
.book_item:nth-child(6) {
-webkit-animation-delay: 2083.3333333333ms;
animation-delay: 2083.3333333333ms;
}
.shelf {
width: 300px;
height: 5px;
margin: 0 auto;
background-color: black;
position: relative;
}
.shelf:before, .shelf:after {
top: 400%;
left: 7.5%;
}
.shelf p{
padding-top: 10px;
}
@-webkit-keyframes move {
from {
background-position-x: 0;
}
to {
background-position-x: 10px;
}
}
@keyframes move {
from {
background-position-x: 0;
}
to {
background-position-x: 10px;
}
}
@-webkit-keyframes travel {
0% {
opacity: 0;
-webkit-transform: translateX(300px) rotateZ(0deg) scaleY(1);
transform: translateX(300px) rotateZ(0deg) scaleY(1);
}
6.5% {
-webkit-transform: translateX(279.5px) rotateZ(0deg) scaleY(1.1);
transform: translateX(279.5px) rotateZ(0deg) scaleY(1.1);
}
8.8% {
-webkit-transform: translateX(273.6px) rotateZ(0deg) scaleY(1);
transform: translateX(273.6px) rotateZ(0deg) scaleY(1);
}
10% {
opacity: 1;
-webkit-transform: translateX(270px) rotateZ(0deg);
transform: translateX(270px) rotateZ(0deg);
}
17.6% {
-webkit-transform: translateX(247.2px) rotateZ(-30deg);
transform: translateX(247.2px) rotateZ(-30deg);
}
45% {
-webkit-transform: translateX(165px) rotateZ(-30deg);
transform: translateX(165px) rotateZ(-30deg);
}
49.5% {
-webkit-transform: translateX(151.5px) rotateZ(-45deg);
transform: translateX(151.5px) rotateZ(-45deg);
}
61.5% {
-webkit-transform: translateX(115.5px) rotateZ(-45deg);
transform: translateX(115.5px) rotateZ(-45deg);
}
67% {
-webkit-transform: translateX(99px) rotateZ(-60deg);
transform: translateX(99px) rotateZ(-60deg);
}
76% {
-webkit-transform: translateX(72px) rotateZ(-60deg);
transform: translateX(72px) rotateZ(-60deg);
}
83.5% {
opacity: 1;
-webkit-transform: translateX(49.5px) rotateZ(-90deg);
transform: translateX(49.5px) rotateZ(-90deg);
}
90% {
opacity: 0;
}
100% {
opacity: 0;
-webkit-transform: translateX(0px) rotateZ(-90deg);
transform: translateX(0px) rotateZ(-90deg);
}
}
@keyframes travel {
0% {
opacity: 0;
-webkit-transform: translateX(300px) rotateZ(0deg) scaleY(1);
transform: translateX(300px) rotateZ(0deg) scaleY(1);
}
6.5% {
-webkit-transform: translateX(279.5px) rotateZ(0deg) scaleY(1.1);
transform: translateX(279.5px) rotateZ(0deg) scaleY(1.1);
}
8.8% {
-webkit-transform: translateX(273.6px) rotateZ(0deg) scaleY(1);
transform: translateX(273.6px) rotateZ(0deg) scaleY(1);
}
10% {
opacity: 1;
-webkit-transform: translateX(270px) rotateZ(0deg);
transform: translateX(270px) rotateZ(0deg);
}
17.6% {
-webkit-transform: translateX(247.2px) rotateZ(-30deg);
transform: translateX(247.2px) rotateZ(-30deg);
}
45% {
-webkit-transform: translateX(165px) rotateZ(-30deg);
transform: translateX(165px) rotateZ(-30deg);
}
49.5% {
-webkit-transform: translateX(151.5px) rotateZ(-45deg);
transform: translateX(151.5px) rotateZ(-45deg);
}
61.5% {
-webkit-transform: translateX(115.5px) rotateZ(-45deg);
transform: translateX(115.5px) rotateZ(-45deg);
}
67% {
-webkit-transform: translateX(99px) rotateZ(-60deg);
transform: translateX(99px) rotateZ(-60deg);
}
76% {
-webkit-transform: translateX(72px) rotateZ(-60deg);
transform: translateX(72px) rotateZ(-60deg);
}
83.5% {
opacity: 1;
-webkit-transform: translateX(49.5px) rotateZ(-90deg);
transform: translateX(49.5px) rotateZ(-90deg);
}
90% {
opacity: 0;
}
100% {
opacity: 0;
-webkit-transform: translateX(0px) rotateZ(-90deg);
transform: translateX(0px) rotateZ(-90deg);
}
}