Stassoulas (Talk | contribs) |
|||
Line 1,039: | Line 1,039: | ||
box-shadow: 0 0 5px #000 | box-shadow: 0 0 5px #000 | ||
} | } | ||
− | .view- | + | .view-eighth .mask { |
− | + | background-color: rgba(255, 255, 255, 0.7); | |
− | + | top: -200px; | |
− | + | ||
− | background-color: rgba( | + | |
opacity: 0; | opacity: 0; | ||
− | + | transition: all 0.3s ease-out 0.5s; | |
− | transition: all 0. | + | |
} | } | ||
− | .view- | + | .view-eighth h2{ |
− | + | transform: translateY(-200px); | |
− | transition: all 0.2s ease-in-out; | + | transition: all 0.2s ease-in-out 0.1s; |
} | } | ||
− | .view- | + | .view-eighth p { |
− | + | color: #333; | |
− | transition: all 0.2s ease-in-out; | + | transform: translateY(-200px); |
+ | transition: all 0.2s ease-in-out 0.2s; | ||
} | } | ||
− | .view- | + | .view-eighth a.info { |
− | + | transform: translateY(-200px); | |
− | transition: all 0.2s ease-in-out; | + | transition: all 0.2s ease-in-out 0.3s; |
} | } | ||
− | + | .view-eighth:hover .mask { | |
− | .view- | + | opacity: 1; |
− | opacity:1; | + | top: 0px; |
− | transition-delay: 0s; | + | transition-delay: 0s; |
− | + | animation: bounceY 0.9s linear; | |
+ | } | ||
+ | .view-eighth:hover h2 { | ||
+ | transform: translateY(0px); | ||
+ | transition-delay: 0.4s; | ||
} | } | ||
− | .view- | + | .view-eighth:hover p { |
− | transform: translateY(0px); | + | transform: translateY(0px); |
− | transition-delay: 0. | + | transition-delay: 0.2s; |
} | } | ||
− | .view- | + | .view-eighth:hover a.info { |
− | transform: | + | transform: translateY(0px); |
− | transition-delay: | + | transition-delay: 0s; |
} | } | ||
− | + | @keyframes bounceY { | |
− | + | 0% { transform: translateY(-205px);} | |
− | + | 40% { transform: translateY(-100px);} | |
+ | 65% { transform: translateY(-52px);} | ||
+ | 82% { transform: translateY(-25px);} | ||
+ | 92% { transform: translateY(-12px);} | ||
+ | 55%, 75%, 87%, 97%, 100% { transform: translateY(0px);} | ||
} | } | ||
</style> | </style> | ||
</html> | </html> |
Revision as of 16:31, 1 November 2017