Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
184 changes: 184 additions & 0 deletions css/slide21.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,184 @@
.container {
width: 50%;
height: auto;
margin: 10% 25%;
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(3, 1fr);
}

.shape {
width: 80px;
height: 80px;
border-radius: 10px;
margin: 0 0 0 2%;
background: linear-gradient(to right, #8e2de2, #4a00e0);
box-shadow: 10px 20px 20px rgb(136, 136, 136);
}

h2 {
width: 80px;
height: auto;
font-size: 20px;
font-weight: 100;
border-radius: 5px;
padding: 2%;
margin: 5% 0 30% 0;
background-color: beige;
text-align: center;
}


@keyframes shake {
0%, 100% {transform: translateY(10px);}
25% {transform: translateY(-10px) rotateZ(10deg);}
75% {transform: translateY(-10px) rotateZ(-10deg);}
}

.shake {
animation-name: shake;
animation-duration: 1s;
animation-iteration-count: infinite;
}

@keyframes fade {
0% {opacity: 0;}
25% {opacity: .25;}
50% {opacity: .5;}
75% {opacity: .75;}
100% {opacity: 1;}
}

.fade {
animation-name: fade;
animation-duration: 2s;
animation-iteration-count: infinite;
}

@keyframes jelly {
0% {transform: skew(10deg, 10deg);}
50% {transform: skew(-10deg, -10deg);}
100% {transform: skew(0, 0);}
}

.jelly {
animation-name: jelly;
animation-duration: 1s;
animation-iteration-count: infinite;
}

@keyframes bounce {
0% {transform: translateY(10px);}
50% {transform: translateY(-10px);}
}

.bounce {
animation-name: bounce;
animation-duration: 1s;
animation-iteration-count: infinite;
}

@keyframes tada {
0% {transform: scale(0.25, 0.25);}
50% {transform: scale(0.5, 0.5);}
100% {transform: scale(1, 1);}
}

.tada {
animation-name: tada;
animation-duration: 2s;
animation-iteration-count: infinite;
}

@keyframes groove {
0% {border: 1px solid #f13434;}
25% {border: 2px solid #f55454;}
75% {border: 3px solid #e47575;}
100% {border: 0;}
}

.groove {
animation-name: groove;
animation-duration: 2s;
animation-iteration-count: infinite;
}

@keyframes swing {
0% {transform: rotateZ(30deg);}
50% {transform: rotateZ(-30deg);}
100% {transform: rotateZ(0);}
}

.swing {
animation-name: swing;
animation-duration: 2s;
animation-iteration-count: infinite;
animation-direction: alternate;
}

@keyframes squeeze {
0% {transform: scale(0.5, 0.5);}
50% {transform: scale(0.75, 0.75);}
100% {transform: scale(1, 1);}
}

.squeeze {
animation-name: squeeze;
animation-duration: 2s;
animation-iteration-count: infinite;
animation-direction: alternate;
}

@keyframes flicker {
0%, 100% {transform: translateX(20px);}
50% {transform: translateX(-40px);}

}

.flicker {
animation-name: flicker;
animation-duration: 2s;
animation-iteration-count: infinite;
}

@keyframes jerk {
0% {transform: translateX(60px);}
50% {transform: translateX(-60px);}

}

.jerk {
animation-name: jerk;
animation-duration: 1s;
animation-iteration-count: infinite;
animation-timing-function: ease-out;
}

@keyframes blink {
0% {opacity: 0;}
100% {opacity: 1;}

}

.blink {
animation-name: blink;
animation-duration: 2s;
animation-iteration-count: infinite;
}

@keyframes pop {
0% {transform: scale(2, 2);}
50% {transform: scale(1.5, 1.5);}
100% {transform: scale(1, 1);}
}

.pop {
animation-name: pop;
animation-duration: 1s;
animation-iteration-count: infinite;
}





27 changes: 27 additions & 0 deletions css/slide22.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
.container {
width: 90%;
height: 20%;
margin: 10%;
}

.object {
width: 200px;
height: 200px;
background-color: orange;
}

@keyframes animation {
100% {transform: translateX(0) scale(1, 1);}
75% {transform: translateX(250px) scale(0.5, 0.5);}
50% {transform: translateX(500px) scale(0.25, 0.25);}
25% {transform: translateX(750px) scale(0.5, 0.5);}
0% {transform: translateX(1000px) scale(1, 1);}
}

.animation {
animation-name: animation;
animation-duration: 2s;
animation-iteration-count: infinite;
animation-timing-function: linear;
animation-direction: alternate;
}
41 changes: 41 additions & 0 deletions css/slide23.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
.container {
position: relative;
width: 90%;
height: 20%;
margin: 10% 30%;
}

.outter_box {
width: 600px;
height: 600px;
border: 5px solid #8e2de2;
}

.inner_box {
width: 150px;
height: 150px;
position: absolute;
margin: -5% 0 0 13%;
background-color: skyblue;
border: 2px solid black;
}

h3 {
text-align: center;
font-weight: 200;
color: white;
font-size: 30px;
}

@keyframes animation {
100% {transform: translateX(230px);}
0% {transform: translateX(-220px);}
}

.animation {
animation-name: animation;
animation-duration: 2s;
animation-iteration-count: infinite;
animation-direction: alternate;
animation-timing-function: linear;
}
44 changes: 44 additions & 0 deletions css/slide24.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
.container {
position: relative;
width: 90%;
height: 20%;
margin: 10% 30%;
}

.outter_box {
width: 600px;
height: 600px;
border: 5px solid #8e2de2;
}

.inner_box {
width: 150px;
height: 150px;
position: absolute;
margin: -5% 0 0 -4%;
background-color: skyblue;
border: 2px solid black;
}

h3 {
text-align: center;
font-weight: 200;
color: white;
font-size: 30px;
}

@keyframes animation {
/* 100% {transform: translateX(270px);} */
0% {transform: translate(0, 0);}
25% {transform: translate(600px, 0);}
50% {transform: translate(600px, 600px);}
75% {transform: translate(0, 600px);}
100% {transform: translate(0, 0);}
}

.animation {
animation-name: animation;
animation-duration: 4s;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
69 changes: 66 additions & 3 deletions sldie21.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->
<head> <!-- header begins here -->

<head>
<!-- header begins here -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
Expand Down Expand Up @@ -32,9 +34,70 @@
<!-- ---------------------------------------------------------------------------------- -->
<!-- ---------------------------------------------------------------------------------- -->
<!-- ---------------------------------------------------------------------------------- -->
<body> <!-- body begins here -->
The quickest of brown foxes

<body>
<!-- body begins here -->
<div class="container">
<div>
<div class="shape shake"></div>
<h2>"Shake"</h2>
</div>

<div>
<div class="shape fade"></div>
<h2>"Fade"</h2>
</div>

<div>
<div class="shape jelly"></div>
<h2>"Jelly"</h2>
</div>

<div>
<div class="shape bounce"></div>
<h2>"Bounce"</h2>
</div>

<div>
<div class="shape tada"></div>
<h2>"Tada"</h2>
</div>

<div>
<div class="shape groove"></div>
<h2>"Groove"</h2>
</div>

<div>
<div class="shape swing"></div>
<h2>"Swing"</h2>
</div>

<div>
<div class="shape squeeze"></div>
<h2>"Squeeze"</h2>
</div>

<div>
<div class="shape flicker"></div>
<h2>"Flicker"</h2>
</div>

<div>
<div class="shape jerk"></div>
<h2>"Jerk"</h2>
</div>

<div>
<div class="shape blink"></div>
<h2>"Blink"</h2>
</div>

<div>
<div class="shape pop"></div>
<h2>"pop"</h2>
</div>
</div>



Expand Down
4 changes: 3 additions & 1 deletion slide22.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
<!-- ---------------------------------------------------------------------------------- -->
<!-- ---------------------------------------------------------------------------------- -->
<body> <!-- body begins here -->
The quickest of brown foxes
<div class="container">
<div class="object animation"></div>
</div>



Expand Down
Loading