Skip to content

Commit 93074de

Browse files
committed
add hero section with moving background
1 parent 8252859 commit 93074de

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

index.html

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,34 @@
2020
<i class='bx bx-menu'></i>
2121
</header>
2222
<main>
23+
24+
<!--Create hero section-->
25+
<section class="heroSection">
26+
27+
<!--Insert video background-->
28+
<video autoplay loop muted playsinline class="videoBackground">
29+
<source src="videos/5586359_Coll_wavebreak_3d Animation_1920x1080.mp4" type="video/mp4">
30+
Your browser does not support the video tag.
31+
</video>
32+
<!--Create video overlay-->
33+
<div class="videoOverlay"></div>
34+
35+
<!--Create video overlay text-->
36+
<div class="heroContent">
37+
<h2>Welcome to ScriptLab</h2>
38+
39+
<!--Insert projects link-->
40+
<a href="#projects">view projects</a>
41+
</div>
42+
</section>
43+
2344
<!--About section-->
2445
<section>
25-
<h2>Our Story</h2>
46+
<h2>About ScriptLab</h2>
2647
</section>
2748

2849
<!--Projects Section-->
29-
<section>
50+
<section id="projects">
3051
<h2>Projects</h2>
3152

3253
<!--Create project grid container-->

0 commit comments

Comments
 (0)