Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .parcel .icons {
- position: absolute;
- top: -100px;
- left: 0;
- width: 100%;
- }
- .parcel picture:last-child img {
- position: absolute;
- top: 0;
- left: 0;
- }
- .icon {
- width: 42px;
- height: 65px;
- background-size: cover;
- position: absolute;
- left: 0;
- animation: animate 3s ease-in-out;
- opacity: 0;
- }
- @keyframes animate {
- from {
- transform: translate3d(0, 0, 0);
- opacity: 0;
- }
- 25% {
- opacity: 1;
- }
- 50% {
- opacity: 1;
- }
- to {
- transform: translate3d(0, 450%, 0) scale(0.9);
- opacity: 0;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement