Skip to content

Commit

Permalink
(CI) format code
Browse files Browse the repository at this point in the history
  • Loading branch information
Zero to Mastery committed Oct 2, 2023
1 parent 40d2cd3 commit 8d278bb
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 53 deletions.
24 changes: 12 additions & 12 deletions Art/jnovak5/index.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="style.css" />
<title>Novak CSS Animation</title>
</head>
<body>
<div id="leftLine"></div>
<div id="middleLine"></div>
<div id="rightLine"></div>
</body>
</html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" type="text/css" href="style.css" />
<title>Novak CSS Animation</title>
</head>
<body>
<div id="leftLine"></div>
<div id="middleLine"></div>
<div id="rightLine"></div>
</body>
</html>
94 changes: 53 additions & 41 deletions Art/jnovak5/style.css
Original file line number Diff line number Diff line change
@@ -1,55 +1,67 @@
body {
margion: 0px;
background-color: whitesmoke;
margion: 0px;
background-color: whitesmoke;
}

#leftLine {
display: inline-block;
background-color: red;
height: 20rem;
width: 10rem;
margin: 0px;
animation-name: flag;
animation-duration: 5s;
animation-iteration-count: infinite;
animation-direction: alternate;
display: inline-block;
background-color: red;
height: 20rem;
width: 10rem;
margin: 0px;
animation-name: flag;
animation-duration: 5s;
animation-iteration-count: infinite;
animation-direction: alternate;
}

#middleLine {
display: inline-block;
background-color: white;
height: 20rem;
width: 10rem;
margin: 0px;
animation-name: flag;
animation-duration: 5s;
animation-iteration-count: infinite;
animation-direction: alternate;
display: inline-block;
background-color: white;
height: 20rem;
width: 10rem;
margin: 0px;
animation-name: flag;
animation-duration: 5s;
animation-iteration-count: infinite;
animation-direction: alternate;
}

#rightLine {
display: inline-block;
background-color: green;
height: 20rem;
width: 10rem;
margin: 0px;
animation-name: flag;
animation-duration: 5s;
animation-iteration-count: infinite;
animation-direction: alternate;
display: inline-block;
background-color: green;
height: 20rem;
width: 10rem;
margin: 0px;
animation-name: flag;
animation-duration: 5s;
animation-iteration-count: infinite;
animation-direction: alternate;
}

@keyframes flag {
0% {
box-shadow: 10px 10px black;
border-radius: 0px;
}
25% {
box-shadow: 20px 20px black;
border-radius: 5px;
}
50% {
box-shadow: 50px 50px black;
border-radius: 10px;
}
100% {
box-shadow: 75px 75px black;
border-radius: 15px;
}

0% {box-shadow: 10px 10px black; border-radius: 0px;}
25% {box-shadow: 20px 20px black; border-radius: 5px;}
50% {box-shadow: 50px 50px black; border-radius: 10px;}
100% {box-shadow: 75px 75px black; border-radius: 15px;}

from {
transform: skew(0deg, 0deg) rotateY(0deg) translate(0rem, 0rem) scale(0, 0);
}
to {
transform: skew(-20deg, -10deg) rotateY(45deg) translate(15rem, 10rem) scale(1, 1);
}
}
from {
transform: skew(0deg, 0deg) rotateY(0deg) translate(0rem, 0rem) scale(0, 0);
}
to {
transform: skew(-20deg, -10deg) rotateY(45deg) translate(15rem, 10rem)
scale(1, 1);
}
}

0 comments on commit 8d278bb

Please sign in to comment.