generated from github/codespaces-blank
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.html
92 lines (90 loc) · 4.33 KB
/
next.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Nagia Fathima | UI Developer</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Caveat:[email protected]&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="css/next.css">
<link rel="stylesheet" href="css/footer.css">
</head>
<body class="home">
<div class="content-wrapper">
<header>
<h1>Next Page</h1>
</header>
<main>
<section>
<h4>Unordered List with on hover css styles</h4>
<ul>
<li>Unordered List 1</li>
<li>Unordered List 2</li>
<li>Unordered List 3</li>
<li>Unordered List 4</li>
</ul>
<h4>Ordered List with on hover css styles</h4>
<ol>
<li>ordered List 1</li>
<li>ordered List 2</li>
<li>ordered List 3</li>
<li>ordered List 4</li>
</ol>
</section>
<div>
<h4>Negative Margins with inline CSS, position and z-index properties</h4>
<section class="negative-margin">
<ul>
<li>Negative Margin</li>
<div style="background-color:rgb(176, 167, 167);width:150px;height:100px;border: 1px solid black"></div>
<div style="background-color:#ea7a7a;width:150px;height:100px;border: 1px solid black;margin-top:-20px;margin-left:-10px"></div>
<div style="background-color:lightblue;width:150px;height:100px;border: 1px solid black;margin-top:-20px"></div>
</ul>
</section>
<section class="neg-margin-pos" >
<ul>
<li>Absolute Position</li>
<div style="display:inline-block;background-color:rgb(176, 167, 167);width:150px;height:100px;border: 1px solid black"></div>
<div style="display:inline-block;background-color:#ea7a7a;width:150px;height:100px;border: 1px solid black;margin-bottom: -20px;margin-left:-20px"></div>
<div style="display:inline-block;background-color:lightblue;width:150px;height:100px;border: 1px solid black;margin-bottom:-30px;margin-left:-20px""></div>
</ul>
</section>
<section>
<ul>
<li>z-index</li>
<div style="display:inline-block;background-color:rgb(176, 167, 167);width:150px;height:100px;border: 1px solid black"></div>
<div style="display:inline-block;background-color:#ea7a7a;width:150px;height:100px;border: 1px solid black; margin: 10px -20px;position:absolute;z-index: 2"></div>
<div style="display:inline-block;background-color:lightblue;width:150px;height:100px;border: 1px solid black;margin: 20px -40px;position:absolute;z-index: 1"></div>
</ul>
</section>
</div>
</main>
</div>
<!-- // FOOTER INFO, SOCIAL MEDIA // -->
<div class="container">
<footer>
<p>© 2024 by Your Name | <a href="mailto:[email protected]">[email protected]</a></p>
<ul id="socials">
<!--Adding class logo to each list element here can help with the performance as the browser has to cycle only through one selector while applying CSS-->
<li>
<a href="" target="_blank"><img src="images/icon-logo-youtube.png" alt="My LinkedIn Profile" class="logo"></a>
</li>
<li>
<a href="" target="_blank"><img src="images/icon-logo-instagram.png" alt="My LinkedIn Profile" class="logo"></a>
</li>
<li>
<a href="" target="_blank"><img src="images/icon-logo-facebook.png" alt="My Facebook Profile" class="logo"></a>
</li>
<li>
<a href="" target="_blank"><img src="images/icon-logo-linkedin.png" alt="My LinkedIn Profile" class="logo"></a>
</li>
<li>
<a href="" target="_blank"><img src="images/icon-logo-twitter.png" alt="My LinkedIn Profile" class="logo"></a>
</li>
</ul>
</footer>
</div>
</body>
</html>