html
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
<!-- Rate cuteness of fish 🙂↔️ -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>I <3 swimming like fish </title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="ocean">
<div class="fish">
<div class="eye">
<!-- loved that eye lashes? 😉 -->
<div class="eyelash"></div>
<div class="eyelash"></div>
<div class="eyelash"></div>
</div>
</div>
<div class="bubbles"></div>
</div>
</body>
</html>
Enter to Rename, Shift+Enter to Preview
css
css
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: linear-gradient(to right, #8f4EEB, #1E90FF);
overflow: hidden;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.ocean {
position: relative;
width: 100%;
height: 100vh;
background: linear-gradient(to bottom, #00BFFF, #1E90FF);
overflow: hidden;
}
.fish {
position: absolute;
width: 100px;
height: 50px;
top:30%;
background: #FF8C00;
Enter to Rename, Shift+Enter to Preview
js
js
1
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run