-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Zero to Mastery
committed
Oct 2, 2023
1 parent
702f5dc
commit 879d528
Showing
2 changed files
with
74 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title> | ||
shodow | ||
</title> | ||
<link rel="stylesheet" href="style.css" /> | ||
</head> | ||
<body> | ||
<div class="sun"></div> | ||
<div class="welcome"> | ||
WELCOME | ||
</div> | ||
</body> | ||
</html> | ||
<head> | ||
<title>shodow</title> | ||
<link rel="stylesheet" href="style.css" /> | ||
</head> | ||
<body> | ||
<div class="sun"></div> | ||
<div class="welcome">WELCOME</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,78 +1,73 @@ | ||
body{ | ||
width:100%; | ||
height: 100%; | ||
overflow: hidden; | ||
background: url('wp2895287-cartoon-cloud-background.jpg') ; | ||
background-repeat: repeat-x; | ||
background-size: 170%; | ||
|
||
|
||
font-family: Verdana, Geneva, Tahoma, sans-serif; | ||
animation: bg 5s infinite linear; | ||
body { | ||
width: 100%; | ||
height: 100%; | ||
overflow: hidden; | ||
background: url('wp2895287-cartoon-cloud-background.jpg'); | ||
background-repeat: repeat-x; | ||
background-size: 170%; | ||
|
||
font-family: Verdana, Geneva, Tahoma, sans-serif; | ||
animation: bg 5s infinite linear; | ||
} | ||
@keyframes bg{ | ||
0%{ | ||
background-position: 0px; | ||
|
||
} | ||
100%{ | ||
background-position: 500px; | ||
} | ||
|
||
@keyframes bg { | ||
0% { | ||
background-position: 0px; | ||
} | ||
100% { | ||
background-position: 500px; | ||
} | ||
} | ||
.sun{ | ||
position: absolute; | ||
top:5%; | ||
width: 100px; | ||
height: 100px; | ||
background: yellow; | ||
box-shadow: 0px 0px 100px yellow; | ||
border: 1px black solid; | ||
border-radius:50%; | ||
animation: sun 5s linear infinite; | ||
.sun { | ||
position: absolute; | ||
top: 5%; | ||
width: 100px; | ||
height: 100px; | ||
background: yellow; | ||
box-shadow: 0px 0px 100px yellow; | ||
border: 1px black solid; | ||
border-radius: 50%; | ||
animation: sun 5s linear infinite; | ||
} | ||
@keyframes sun{ | ||
0%{ | ||
top:2%; | ||
left:-10%; | ||
} | ||
40% { | ||
top:2%; | ||
left:50%; | ||
} | ||
50%{ | ||
top:2%; | ||
left:50%; | ||
} | ||
100%{ | ||
top:5%; | ||
left:110%; | ||
} | ||
|
||
@keyframes sun { | ||
0% { | ||
top: 2%; | ||
left: -10%; | ||
} | ||
40% { | ||
top: 2%; | ||
left: 50%; | ||
} | ||
50% { | ||
top: 2%; | ||
left: 50%; | ||
} | ||
100% { | ||
top: 5%; | ||
left: 110%; | ||
} | ||
} | ||
.welcome{ | ||
position: absolute; | ||
font-size: 50px; | ||
font-weight: bolder; | ||
top:20%; | ||
left: 35%; | ||
text-shadow: 30px 25px 5px grey; | ||
color: rgb(26, 26, 172); | ||
letter-spacing: 4px; | ||
animation: shadow 5s linear infinite; | ||
.welcome { | ||
position: absolute; | ||
font-size: 50px; | ||
font-weight: bolder; | ||
top: 20%; | ||
left: 35%; | ||
text-shadow: 30px 25px 5px grey; | ||
color: rgb(26, 26, 172); | ||
letter-spacing: 4px; | ||
animation: shadow 5s linear infinite; | ||
} | ||
@keyframes shadow{ | ||
0%{ | ||
text-shadow: 30px 25px 5px grey; | ||
} | ||
40%{ | ||
text-shadow: 0px 25px 5px grey; | ||
} | ||
50%{ | ||
@keyframes shadow { | ||
0% { | ||
text-shadow: 30px 25px 5px grey; | ||
} | ||
40% { | ||
text-shadow: 0px 25px 5px grey; | ||
} | ||
100%{ | ||
} | ||
50% { | ||
text-shadow: 0px 25px 5px grey; | ||
} | ||
100% { | ||
text-shadow: -30px 25px 5px grey; | ||
} | ||
} | ||
} | ||
} |