Skip to content

Commit 38c6a21

Browse files
committed
first commit
0 parents  commit 38c6a21

File tree

3 files changed

+130
-0
lines changed

3 files changed

+130
-0
lines changed

index.html

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<!-- CSS Link -->
8+
<link rel="stylesheet" href="style.css" />
9+
<!-- Font-Awesome CDN Link -->
10+
<link href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css' rel='stylesheet'>
11+
<title>Document</title>
12+
</head>
13+
<!-- The Loading Function(reload to see) -->
14+
<body onload="myFunction()">
15+
<div id="loading"></div>
16+
<!-- The Navigation Bar -->
17+
<nav>
18+
<!-- The Logo inside The Navigation Bar -->
19+
<label class="logo">ProgrammingX</label>
20+
<ul>
21+
<!-- Links/Buttons -->
22+
<li>
23+
<a href="/">Home</a>
24+
</li>
25+
<li>
26+
<a href="/">Pricing</a>
27+
</li>
28+
<li>
29+
<a href="/">About</a>
30+
</li>
31+
<li>
32+
<a href="/">Settings</a>
33+
</li>
34+
</ul>
35+
</nav>
36+
<!-- The JavaScript for The Loading Function -->
37+
<script>
38+
var preloader = document.getElementById('loading');
39+
function myFunction(){
40+
preloader.style.display = 'none';
41+
}
42+
</script>
43+
</body>
44+
</html>

script.js

Whitespace-only changes.

style.css

+86
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
* {
2+
margin: 0;
3+
padding: 0;
4+
list-style: none;
5+
text-decoration: none;
6+
}
7+
body {
8+
font-family: Georgia, 'Times New Roman', Times, serif;
9+
background-image: url('https://wallpaperaccess.com/full/1092587.jpg');
10+
background-repeat: no-repeat;
11+
}
12+
#loading {
13+
position: fixed;
14+
width: 100%;
15+
height: 100%;
16+
background: black
17+
url('https://i.pinimg.com/originals/70/eb/0b/70eb0b53eb57c91db403928c5d02a19a.gif')
18+
no-repeat center;
19+
z-index: 1;
20+
}
21+
nav {
22+
height: 70px;
23+
background: linear-gradient(rgb(46, 13, 233), rgb(29, 247, 255));
24+
user-select: none;
25+
cursor: none;
26+
}
27+
.logo {
28+
font-family: 'Times New Roman', Times, serif;
29+
padding: 55px;
30+
font-size: 41px;
31+
font-weight: bold;
32+
line-height: 70px;
33+
color: gold;
34+
user-select: none;
35+
}
36+
nav ul {
37+
float: right;
38+
margin-right: 30px;
39+
}
40+
nav ul li {
41+
display: inline-block;
42+
}
43+
nav ul li a {
44+
color: white;
45+
display: block;
46+
padding: 0 15px;
47+
line-height: 70px;
48+
font-size: 20px;
49+
background: linear-gradient(rgb(46, 13, 233), rgb(29, 247, 255));
50+
transition: 1s;
51+
}
52+
nav ul li a:active,
53+
nav ul li a:hover {
54+
color: rgb(8, 253, 0);
55+
}
56+
nav ul ul {
57+
position: absolute;
58+
top: 85px;
59+
border-top: 1px solid rgb(0, 247, 255);
60+
opacity: 0;
61+
visibility: hidden;
62+
}
63+
nav ul li:hover > ul {
64+
top: 70px;
65+
opacity: 1;
66+
visibility: visible;
67+
transition: 0.2s linear;
68+
}
69+
nav ul ul li {
70+
width: 150px;
71+
display: list-item;
72+
position: relative;
73+
border: 1px solid rgb(0, 247, 255);
74+
border-top: none;
75+
}
76+
nav ul ul li a {
77+
line-height: 50px;
78+
}
79+
nav ul ul ul {
80+
border-top: none;
81+
}
82+
nav ul ul ul li {
83+
position: relative;
84+
top: -70px;
85+
left: 150px;
86+
}

0 commit comments

Comments
 (0)