animations

This commit is contained in:
Kyle
2020-12-23 12:12:30 -08:00
parent d79187db9f
commit b49ba36450
2 changed files with 30 additions and 3 deletions

View File

@@ -398,6 +398,31 @@ textarea.input {
/*Animated cards*/
.animated-scene {
perspective: 100rem;
}
.animated-card-1 {
animation: animatedcardone 3s ease-in-out 0s alternate infinite;
-moz-animation: animatedcardone 3s ease-in-out 0s alternate infinite;
-webkit-animation: animatedcardone 3s ease-in-out 0s alternate infinite;
-o-animation: animatedcardone 3s ease-in-out 0s alternate infinite;
transform-style: preserve-3d;
}
.animation-delay-2 {
animation-delay: 2s !important;
}
.animation-delay-4 {
animation-delay: 4s !important;
}
@keyframes animatedcardone {
0% {transform: rotateY(15deg);}
100% {transform: rotateY(-15deg);}
}
/*Home Page only*/
.sample-grid {
display: grid;
@@ -405,9 +430,11 @@ textarea.input {
grid-template-columns: 1fr;
}
.sample-grid > img {
display: block;
max-width: 375px;
width: 100%;
height: auto;
margin: 1rem auto;
}
@media only screen and (min-width: 750px) {
.sample-grid {