-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
51 lines (39 loc) · 1.25 KB
/
index.html
File metadata and controls
51 lines (39 loc) · 1.25 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>3D Background – Starfield</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Background canvas (WebGL) -->
<!-- A Commit Change -->
<canvas id="bg3d"></canvas>
<header>
<div class="logo">3D Background</div>
<div class="menu-toggle" onclick="toggleMenu()">☰</div>
</header>
<section id="home">
<div class="content">
<h1>Hello, I'm <span>RAHULKANTH R</span></h1>
<p>Front-End Developer.</p>
</div>
</section>
<main class="container">
<div class="card">
<h2>Drop your content here</h2>
<p>This 3D background sits behind your layout and uses minimal CPU/GPU. It adapts to window size and respects “reduced motion”.</p>
<a class="cta" href="#">Learn more</a>
</div>
<div style="height: 60vh"></div>
</main>
<footer>
<p>© 2025 RAHULKANTH. All rights reserved.</p>
</footer>
<!-- Three.js from CDN -->
<script src="https://cdn.jsdelivr.net/npm/three@0.160.0/build/three.min.js"></script>
<script src="./script.js">
</script>
</body>
</html>