-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshape.html
140 lines (129 loc) · 3.49 KB
/
shape.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!DOCTYPE html>
<!-- saved from url=(0035)https://rryankees08.github.io/shape -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Assignment #4 - Marquee</title>
<link rel="icon" type="image/png" href="https://github.com/RRyankees08/rryankees08.github.io/blob/main/img/Ryan-logos_white.png?raw=true">
<style>
@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@800&display=swap');
.inner {
display: inline-block;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
width: 200px;
height: 200px;
margin: auto;
background-color: #5b5b5b;
border-radius: 100px;
}
.inner:hover {
background-color: darkorange;
transition: all 0.3s ease-out;
}
.right {
display: inline-block;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 50%;
width: 200px;
height: 200px;
margin: auto;
background-color: #5b5b5b;
}
.right:hover {
background-color: red;
transition: all 0.3s ease-out;
}
.left {
display: inline-block;
position: fixed;
top: 0;
bottom: 0;
left: 50%;
right: 0;
margin: auto;
width: 200px;
height: 200px;
clip-path: polygon(50% 0, 100% 100%, 0 100%);
background-color: #5b5b5b;
}
.left:hover {
background-color: yellow;
transition: all 0.3s ease-out;
}
h2 {
color: white;
font-size: 48px;
font-family: "dosis";
text-align: center;
display: inline-block;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
.red {
color: red;
}
.orange {
color: orange;
}
.yellow {
color: yellow;
}
.fred {
color: white;
}
.fred:hover {
color: red;
transition: all 0.2s ease-out;
cursor: pointer;
}
.fornage {
color: white;
}
.fornage:hover {
color: orange;
transition: all 0.2s ease-out;
cursor: pointer;
}
.fyellow {
color: white;
}
.fyellow:hover {
color: yellow;
transition: all 0.2s ease-out;
cursor: pointer;
text: "You're";
}
a:link { text-decoration: none; }
a:visited { text-decoration: none; }
a:hover { text-decoration: none; }
a:active { text-decoration: none; }
</style></head>
<body style="background-color: gray;">
<h2><span class="red">L</span><span class="fred">earn</span> <span class="orange">Y</span><span class="fornage">our</span> <span class="yellow">S</span><span class="fyellow">hapes!</span></h2>
<div class="inner" onclick="alert('Cicle!!!!');">
<br><br><br>
<h1><marquee direction="right">Hellooooooooooo</marquee></h1>
</div>
<div class="right" onclick="alert('Square!!!!');">
<h1><marquee>Hellooooooooooo</marquee></h1>
<h1><marquee direction="right">Hellooooooooooo</marquee></h1>
<h1><marquee>Hellooooooooooo</marquee></h1>
</div>
<div class="left" onclick="alert('Triangle!!!!');">
<h1><marquee>Hellooooooooooo</marquee></h1>
<h1><marquee direction="right">Hellooooooooooo</marquee></h1>
<h1><marquee>Hellooooooooooo</marquee></h1>
</div>
<footer style="height: 50px;background-color: #5b5b5b;display: flex;position: fixed;bottom: 0;left: 0;right: 0;">
<a class="ytbtn" href="https://youtube.com/@RRyankees08" target="blank_"><h3 style="line-height: 50px;text-align: center;verticle-align: center;margin: 0 auto;color: white;text-decoration: none;font-family: dosis;padding-left: 10px;">More Ryan</h3></a>
<p style="line-height: 50px;text-align: center;verticle-align: center;margin: 0 auto;color: white;font-family: dosis;">© Ryan Weinstein - 2023</p>
</footer>
</body></html>